| |
Kinyusha
Posts: 4
Score: 0
Joined: 5/12/2008
Status: offline
|
hi Ok so i have this script that will create a file with any name that i want n the location of where i want to put it BUT I want to create a text file base on the extension i want, not just .txt. also, is it possible to have strb=inputbox and tell it to where i want to store the file not just in C:? *like, i want to store a file in the C:\HR* If i have it like this ("C: .txt , .vbs , .bat"), it will create 3 file base on those extension. my head is really confuse right now so please help me clear the mud out. here is the script: Set objFSO = CreateObject("Scripting.FileSystemObject") stra=inputbox ("Name of a file") Set objFile = objFSO.CreateTextFile ("C: .txt")
|
|