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

Which keyword is used to declare a variable in the vbscript language?

716


how to answer "TELL ME ABOUT UR SELF" as exp.person. whr to start and whr to stop. can anyone tel me

1575


Explain about arrays in vb script?

805


Explain about the support of asp for vb script functionality?

733


what is the differance between BYVAL,BYREF?

2005


hi i am trying for testing job for 3+ experience(fake) can u suggest me what type of projects i can keep in my resume and how much of knoeledge i should have abt that project.thnks in advance.urgt plz

2789


Explain about tristate constants in vbscript?

834


Why is the use of exit do or exit for statements within loops discouraged?

783


Mention how to create a cookie using vbscript?

749


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

760


How will you convert a given number to long in vbscript?

679


When are redim statement and preserve keyword used in the vbscript language?

828


can anyone send me a vb scripts code for clicking on a link and coming back on home page again does the same for many links on a web page.

2065


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?

1098


Explain the extension .hta?

744