vb script that changes text within a .txt file when it creates the new folder and files
Posted on 2011-09-18
i have a script that creates a new folder and copies in some .txt files
it allows me to name the new folder.
this is what it does:
create new folder - i name it C:\new\inamethisfolder
copy's folder and subfolders C:\clients\ example: has clientinfo.txt
inside the clientinfo.txt file contains 4 places that has the text - newclient
is there anyway to do the following:
when the new folder is created with the name i provide in the popup from the script,
and it copies over the .txt file from C:\clients\new\clientinfo.txt
it can search the clientinfo.txt file and replace any word that is "newclient" and
change it to the name i provide in the script?
it may not be possible, but thought i would ask.