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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / simha

It is correct. automatically created 5 folders using this
VB script.

Is This Answer Correct ?    0 Yes 0 No

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

Answer / 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

More VB Script Interview Questions

what is extension of the file if its saved from recovery manger to some drive

1 Answers  


How are values assigned to string type and numeric type variables?

0 Answers  


Can automation testing find ssame no. of bugs what we can find by manual testing?

0 Answers  


Can someone please tell me what poor design in a relational database (not the layout or style) is and how it can be avoided? PLEASE...im desperate.

0 Answers  


how to add action through AOM in QTP

0 Answers  






Explain about the support of asp for vb script functionality?

0 Answers  


Hi, can any one tell this Actually I AM NEW TO QTP I have one qtp script in which it calls the vbs file during it's run TIME by using the ExecuteFile "absolute path" If the vbs file is executed seperately it will give the output in a msgbox In the same way if qtp script is executed the result will be displayed in w result window right? Now the question is how to get that vbs file output in the qtp result window when I run the qtp script which calls the vbsfile during it's run TIME

1 Answers  


Hai this is sheik, i want to learn VB scripts for web application pls guide me what are all basic things need to know to learn VB scripts in web application.

0 Answers  


Explain few date functions in vbscript?

0 Answers  


. Program for sorting of numbers in vb script?

2 Answers   Talent Sprint,


Program to use input box and send even numbers into sheet1 and odd numbers into sheet2 and prime numbers into sheet3 using vbscript(QTP)?

0 Answers   Tech Mahindra,


how to get date format from system locale..format means neither long nor shor... format from system locale. i need like your date is mm/dd/yyyy formate or mm-dd-yy or with time like that. how to get.

2 Answers  


Categories