Create a file system object to do the following
i. Create a folder
ii. Create a text file in the folder
iii. Update text file with some tex
Answer Posted / usha
set fso=createobject("scripting.filesystemobject")
set f= fso.createfolder("C:UserssingarsyDesktopusha")
set file= f.createTextFile("abc.txt",2)
file.write("masdkmas.........")
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How will you check that a variable is an array in vbscript?
Which event is triggered when mouse focus comes out of an element in the vbscript language?
How to throw an error in vbscript?
why do u choose to go for testing why cant for devoloping
In html file what is an ideal position to include vbscript?
How to create a cookie using vbscript?
What is the use of the date function in the vbscript language?
Can automation testing find ssame no. of bugs what we can find by manual testing?
What is the purpose of the err object in the vbscript language?
How will you get a string with the specified character the specified number of times in vbscript?
Explain about scrrun.dll?
How do i automate a website www.flyashx.com without having any test cases witin a week time.
how to acces the remote mechine using vb cript(QTP)
Both Static and dynamic arrays are handled by VB script. Is it true?
Explain a few date functions in vbscript