Help wil parse text file with vbscript

Home Forums Scripting General Scripting Help wil parse text file with vbscript

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Avatar
    thepcmd
    Member
    #160931

    I have a text file with 10,000 + lines of data. The data is in the following format.

    20091228 050036;78349;1

    The first 8 are the date.

    I would like to perform the following

    1) read and process all lines in the source text file
    2) Set a variable in the script for the day of the week (ie Monday)
    3) Analyze each line of the source and determine if the date is a Monday
    4) if date is a Monday copy that entire line into another text file
    5) if date is not a Monday go to the next line

    Thanks in advance for the help

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.