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
Explain the adodb.stream class?
How to throw an error in vbscript?
How to access array data?
Why is error handling required?
write a program to display configuration of a local system with the help of vb script.
What's the difference between vbscript and vb.net?
what is used of Property........End Property loop ? how to write the script for it?
What are class properties?
Explain How do you create a recordset object in vbscript?
i have a problem with this error(this error related edit and
delete button,when i click this button in datagrid..i will
get this error)"Invalid postback or callback argument.
Event validation is enabled using
Explain about the asc function?
Like OPTION EXPLICIT statement what are the other statements used in vbscript and their usage. Please post me all the statements please.
What is the main difference between function and sub-procedure?
What are the uses of vb script?
What are class events?