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


Please Help Members By Posting Answers For Below Questions

How to find the font in qtp. Scenario:After entering the username and passwd you will be navigate into the "welcome:Username" page.Now I want to extarct font for this message.

1959


Explain the constants in vbscript?

778


where can i learn VB scripint ?

1875


What is the difference between vbscript and vba?

860


What is the purpose of folders object of scripting.filesystemobject class in vbscript?

1155


How to write a VBscript for web page performance test i need a code send if any knows the code If any knows VBScript book plz send to me the link to my mail plz

2662


What are class variables?

830


Which operator is used to concatenate the 2 values in the vbscript language?

803


What purpose does ‘on error resume next’ serves?

823


What is select case statement?

837


If else for do while select in vb script?

876


wht must be the interview question on corinthian information technology solutions incorporated.

2411


How to open excel in vb script?

797


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?

1121


Which command is used for writing text on a page?

780