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
Mention how to create a cookie using vbscript?
What is the use of the recordset object and which statement is used to create such an object?
What is the purpose of the err object in the vbscript language?
regular expression that will recognize a browser as long as its name property starts with mybrowser
hi i am trying for testing job for 3+ experience(fake) can u suggest me what type of projects i can keep in my resume and how much of knoeledge i should have abt that project.thnks in advance.urgt plz
Explain about constants in vb script?
Explain about the support of asp for vb script functionality?
Write a Script for ATM in QTP
What is the use of option explicit statement?
Mention how to access array data?
filter the array values without using filter function?
why variable name should not exceed 255 characters?
while using Keyward driven framework in QTPif new requirements are added how to manage it...plz ans
what is used of Property........End Property loop ? how to write the script for it?
What are class properties?