Results 1 to 19 of 19

Thread: sztext and wite new links

Threaded View

  1. #1

    Thread Starter
    Junior Member gucci's Avatar
    Join Date
    Jun 2008
    Posts
    26

    sztext and wite new links

    Hi,

    I need help writing a vbs script and wondered if anybody here could help me?

    I have a simple txt file which i need to exract the link from inside it. The contents of the file are as follows:
    ----------------------------------------------------------------------
    <head>
    <title>Display PRMSLmsl: GFS High Resolution Ensemble Forecast</title>
    </head>
    <body bgcolor="#ffffff">
    <h3 align="center">GFS High Resolution Ensemble Forecast gec00_00z.ctl</h3>
    <h3 align="center">PRMSLmsl 1000 00Z26aug2008</h3>
    <FORM NAME="form1" action="pdisp_gens.sh">
    <center>
    <img src="/tmp/ATEST21591.png" alt="plot">
    </center>
    <pre>
    image was generated
    </pre>
    <small><p>&nbsp&nbsp <p align=left>Problems with the datasets, contact: [email protected], [email protected]<br>
    pdisp version v0.9.6.7: [email protected],[email protected]
    </body>
    -----------------------------------------------------------------------

    I need to extract /tmp/ATEST21591.png and place it in a new text file with the following added upfront of the link i have extracted:

    http://nomad5.ncep.noaa.gov/tmp/ATEST21591.png

    any help would be really great - many thanks,

    Ian
    Last edited by mendhak; Aug 26th, 2008 at 01:39 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width