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

What are the disadvantages of vbscript?

888


Why is it recommended to close the database connection every time after the work is completed?

729


how to automatically update the sql server2005 database records when insert in vb6?

1716


how does vb script help in web page designing? explain with example.

1780


how to increase the values in text box in a given text box increament by two values by clicking on button

1891


How to take whole text output from screen of Bitmap Application.

2099


how to write a vb script in QTP for yahoo registration form, i want to check the performance also like performance test, stress, load test like that.

4992


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

2797


Hi Friends my Question is very simple,in Manual testing when we click on a hyper link it directs us to the relavent page or it re-directs us to the current page,so there we can easily write testcase but same thing if we do in automation script using QTP & need to generate report using Reporter.report event how we will do it?thanks in advance...

1872


Why to use option explicit in vb script?

818


Hello friends..... Can any give the methods for Ms-Access, and Mozilla firefox in Automation Object Model in QTP. Please give me currect answers... if you do not understand my question please don't give answers. Thanking you.

2116


What is the main difference between function and sub-procedure?

795


Explain vbscript in detail?

836


Which in-built function related to an array joins substrings into one string in the vbscript language?

739


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

1149