Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Hi all..I have two values. a=20 ,b=30 I want to perform c= a+b and c= a*b using user define function.please anyone give the answer

1 Answers  


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  


How to remove the spaces in a string Ex: "this is apple"

5 Answers   Cap Gemini,


I'm new to QTP, i facing a a problem in the script says"Object not found", "Browser("").page("").frame(Name:=fminfo).webtable(). the issue is, QTp is not able to identify the web table in run time.becuase in that fram"fminfo" there are "n"table and the table do not have the names,Html id. 1) i need to count the number webtables available on that page. 2)need to identify the webtable cell values. 3)How Loop the once i get the count and retrive the cell data of each webtable? Can anyone help on this, plz.. Thanks, Suresh

3 Answers  


write a vb script to display apple that is 1st a should be displayed then ap then app then appl then apple

7 Answers  


How to throw an error in vbscript?

0 Answers  


What methods are used to create text files and open text files in the vbscript language?

0 Answers  


How will you get the octal value of the given number in vbscript?

0 Answers  


In html file what is an ideal position to include vbscript?

0 Answers  


How to use QTP Object in .vbs(vbscript file) file Ex: Browser().., wait(), exist() and etc...

0 Answers  


What are the special sub-types in vbscript?

0 Answers  


Why to use option explicit in vb script?

0 Answers  


Categories