Hi All Scripters.
Im very new to scripting and wanted to know if someone could help me out. I need to run a VBS script as follows:
1. Search for a particular file (variable.txt)
2. If the file is present open it and add some text to the document (Eg. "Text Added"), save the file and close it.
3. If the file that is searched for does not exists then create new file called variable.txt, add some different text (Eg. "New File"), save and close this file.
I hope someone can help me out here.
Thanks in advance.
Hari
Im very new to scripting and wanted to know if someone could help me out. I need to run a VBS script as follows:
1. Search for a particular file (variable.txt)
2. If the file is present open it and add some text to the document (Eg. "Text Added"), save the file and close it.
3. If the file that is searched for does not exists then create new file called variable.txt, add some different text (Eg. "New File"), save and close this file.
I hope someone can help me out here.
Thanks in advance.
Hari