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
Which operator can be used to check if two numbers are equal or not in vbscript?
I am working on QTP, got struck in one place.. In my application depending upon configuration WebEdit count is increasing/ decreasing.. how to get these webedits..
Explain the asc function?
Explain about the asc function?
What is purpose of scripting.filesystemobject class in vbscript?
Mention what is select case statement?
How to Import data from a file (file is on the desktop) to the data table
why do u choose to go for testing why cant for devoloping
Which operator can be used to change the value of the operand or change the state of the condition?
How to write functions and sub in vb script?
How will you format a number in percetage format in vbscript?
What is the scope of a constant declared using public?
Explain the .wsf files?
Explain about the extension .hta?
How to open excel in vb script?