how to delete folder test3,test4 and test5 using vbscript?
Answer Posted / manjunathareddy
Dim Fso
Set Fso=CreateObject("Scripting.FileSystemObject")
For i=3 to 5
Fso.DeleteFolder("C:\Test"&i)
Next
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Which function is used to perform string comparison?
What is the difference between vb debugger and the script debugger?
What is the use of the formatdatetime function in the vbscript language?
Hi Friends, I have an issue like the describe below: I'm using QTP and I'm testing on SharePoint. As you knoe, SharePoint has a customize function for user, so that, If I add an object Web Table at the first time, that object was recognized by "index" and "html tag", after that, if someone change the display of web part, the "Index" of my object was changed as well and QTP unable to select that Web Table. Can you guide me how to identify or anyway to keep that Web Table object as unique object? Thanks a lot.
What is the purpose of folders object of scripting.filesystemobject class in vbscript?
How are arrays declared in the vbscript language?
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
What are class variables?
Explain about scrrun.dll?
When to use function procedures and what are its characteristics?
Mention what is the difference between vbscript and vba?
What aspects of vbscript make it safe so that a web page using vbscript cannot destroy or corrupt information on a user's computer?
What is byref and byval parameters in vbscript?
why variable name should not exceed 255 characters?
What is loose binding? Why is it not a good practice to use it?