write a vb script create 5 folders test1 test2 test3 test4
test5

Answer Posted / mudaseer

set fso=createobject("scripting.filesystemobject")
for i=1 to 5
fso.createfolder "C:\test" &i
next

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Mention characteristics of sub procedures?

676


How can you destroy an object in vbscript?

751


How will you check that a variable is an array in vbscript?

625


Hello Guys, If any body looking for "worksoft certify tool training in bangalore", please contact me aimansaud@gmail.com

1147


Dear All, I am geting below IE error whilie executing the QTP scripts in Batch mode "Internet Explorer has encountered a problem and needs to close. We are sorry for the inconvenience." can any one suggest me how to resolve this issue . Thanks Balaji

1338






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?

585


Which operator can be used to change the value of the operand or change the state of the condition?

673


How will you convert a string to upper case string using vbscript?

638


How you can call vbscript functions?

658


Explain the operator precedence in vb script?

739


can anyone tell me the procedure of interview held in applabs

1833


Explain about .wsf files?

711


how to check whether link is disabled in QTP??

5708


How are values assigned to the variables in the vbscript language?

661


Explain about scrrun.dll in vbscript?

757