Is it possible to create a file and write lines to it in vbscript?
Something similar to echo in bat file (echo something something >>sometextfile.txt
).
On execution of the vbscript depending on the path of the script would create an autorun.inf file to execute a particular program (smartdriverbackupsdb.exe).
Also how can I strip/remove the drive letter from the complete file path?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…