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
1.I want to establish connection with excel and also want to fetch the data using SQL queries. 2.the code should be written in such a way that in future if I want to migrate from excel to MS excess database , then there should be minimal changes.
What is vbscript language used for and which earlier language is it modeled upon?
what is event handling?
How to create a cookie using vbscript?
Explain the .wsf files?
Mention if qtp generates vbscript code as we record actions, can't it possible to directly write using vbscript code when qtp does the same thing too?
If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?
Explain the functionality of vbscript?
Mention what is byref and byval parameters in vbscript?
When are redim statement and preserve keyword used in the vbscript language?
How will you check that a variable is an array in vbscript?
Hello Guys, If any body looking for "worksoft certify tool training in bangalore", please contact me aimansaud@gmail.com
Both Static and dynamic arrays are handled by VB script. Is it true?
What's the difference between vbscript and vb.net?
Illustrate briefly about the different types of statement