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

Dear All, I am geting below IE error whilie executing the QTP scripts in Batch mode "Internet Explorer has encountered a problem and needs to close. We are sorry for the inconvenience." can any one suggest me how to resolve this issue . Thanks Balaji

1469


i need to sort the data using qtp script for this how i need to write a qtp script

3443


Explain about the functionality of vb script?

764


Differentiate javascript and vbscript?

761


We have 1 web page with names column. I am giving the Service Providers1,2,3.... @ that time dynamically some no of names are displaying in the webpage and The Pop up windows are opening(No.of Pop Up windows=No.of Names). The names may be diffar for each and every Service Provders (Dynamically) How can we handle the Dynamic values?

1966


what is inner join? what is outer join? what is a constraint? tell me about rdbms? tell me about acid properties?

1636


How strcomp function works?

843


Write a vbscript procedure that converts feet to inches. Hint: there are 12 inches in a foot?

805


what is the differance between BYVAL,BYREF?

1994


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

2390


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

3145


Which in-built functions are used to convert the specified expression in the form of date and string in the vbscript language?

762


Is vbscript language a case-sensitive language and what does it mean?

762


Please let me Know regarding any material regarding VB Scripting which should be easily understandable for Beginners.

1796


I have attended Anovatek Software QTP interview. They will give us computer and one web based application with QTP. We have to automate some records (already updated records or new records) using QTP Data driven testing. But we should use for loop? Can any one know how to do data driven testing using For loop?

1752