Hi All Experts,
can you please throw some light on how to save the text file using vbscript, we tried so many methods but we couldn't make. pls help us..
What all methods did you try?
What issues did you face or what results did you get?
If you can provide this information, it would help others help you!
we have create the text file using
Set fso = CreateObject("Scripting.FileSystemObject")
Set fname = fso.OpenTextFile("C:\123.txt", 2, True)
Then we are reading the contents from another file inbetween we are getting the file name, how to saveas the file 123.txt to 45.txt.
this 45 name we are getting from another file. please help us.
Use below code
Set oFSO = CreateObject("Scripting.FileSystemObject")
oFSO.MoveFile "C:\123.txt" , "C:\45.txt"
i have never seen bugs sleeping