
Replace text in a text file
I have some code that creates a batch file on the fly. I am having an
issue with how the dir structures are being read. I need to find a way
to search a text file and out quotes arround and dir or file that has
spaces in it. Do anyone have any sample scripts
VBScript's that would
allow me to do this? i.e.
lets pretend that this is the file:
=========begining of file=================
c:\winnt\system32\vbchkw2k.exe c:\DLL Compile Checker
path2
path3
path4
path5
=========End of file===================================
I need to be able to programatically go throught a text file like the
above and put quotes around "DLL Compile Checker".
Thanks for any input.
-Ty
*** Sent via Developersdex http://www.*-*-*.com/ ***
Don't just participate in USENET...get rewarded for it!