Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
vbscript to parse text file and com
Name: shafiq1 Date: July 17, 2008 at 06:52:53 Pacific OS: xp sp2 CPU/Ram: core2 duo 2g Product: dell
Comment:
I'm trying to write a vbscript that will parse a text file line by line. if the contents of each line matches the filename of an actual file in another directory, then the file in the directory will be copied to another location.
Name: Razor2.3 Date: July 21, 2008 at 17:49:21 Pacific
Reply:
Set fso = CreateObject("Scripting.FileSystemObject") With fso.OpenTextFile("a text file", 1) On Error Resume Next Do Until .AtEndOfStream fso.CopyFile "another directory\" & .ReadLine, "another location\" Loop End With
Summary: I need some help making a batch file than can parse a text file containing data on each line. At the same time, it needs to discard any "non-English" characters present. I'd like each line parsed to b...
Summary: I have problem writing this batch file to read a text file. Been using the for /f command but doesn't seem to be working. This is a sample of the text file. HLU/ALU Pairs: HLU Number ALU Number...
Summary: I was wondering if someone would help me. I would like to add the line numbers to a text file using a .bat! it is not possible to do this with gawk. I had the script a few years ago but I lost it. so:...