write a vb script create 5 folders test1 test2 test3 test4
test5
Answer Posted / manjunathareddy
Dim Fso
Dim oFolder
Set Fso=CreateObject("Scripting.FileSystemObject")
For i=1 to 5
Set oFolder=Fso.CreateFolder("C:\Test"&i)
Next
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is event handling in vbscript?
I want to run QTP script on Linux server is it possible to do this by connecting Windows to Linux through VPN/Terminal Server and just run the script on Linux server.
What is difference between vbscript and vba?
What is variant in vb script?
How do you declare a variable in vbscript?
What is the use of the ‘open’ method to work with the database in the vbscript language and what connection string is passed in the same and what is its usage?
Which event is triggered when mouse focus comes out of an element in the vbscript language?
Is vbscript a case-sensitive or case-insensitive?
Which function is used in the vbscript language to convert the specified expression into a date type value?
I have an excel sheet with multiple ID's in a column. Now i need fetch those ID's in an application and check whether if it already exist in the DB. If not then i have to go with the process of inserting them in the DB. If it exists then i need to skip that ID and move to the next ID and check the same and proceed. How can i do that with for loop and if condition?
What aspects of vbscript make it safe so that a web page using vbscript cannot destroy or corrupt information on a user's computer?
wat is the com(common object model)object for mozilla firefox???????plz if any one know the exact answer....reply me......
How to pass argument by reference to a function in vbscript?
How to use QTP Object in .vbs(vbscript file) file Ex: Browser().., wait(), exist() and etc...
What is purpose of scripting.filesystemobject class in vbscript?