I need to create a text file "setup.txt" in the location C:\Documents and Settings\All Users\Application Data\xerox\setapp in VB script the location C:\Documents and Settings\All Users\Application Data is common apllication data folder here we can use word "CSIDL_COMMON_APPDATA" or &H23& for that.Here the other which i need to take care is if any setup.txt file are already there in that location i need to remove that old one i need to insert the new "setup.txt" which contatin blank values means new one
I am new to this vbscript ,and i wanted an optimized code to acheive that functionality