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

Anyone have qtp11.0 crack?

2380


Is vbscript a case-sensitive or case-insensitive?

750


what is event handling?

580


what is the differance between BYVAL,BYREF?

1766


How do you declare a variable in vbscript?

623






Could Anybody Please tell me What is the script for Find 3rd Largest element in the Array without using a SORT function int Find(int arr[], int size); Thanks in Advance..

2020


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

556


Explain about tristate constants in vbscript?

611


while using Keyward driven framework in QTPif new requirements are added how to manage it...plz ans

1564


Can automation testing find ssame no. of bugs what we can find by manual testing?

1466


Explain about the functionality of vb script?

567


How will you get the exponent of the given number in vbscript?

554


when we use filter funtiom invb script(QTP)

2299


Mention what is the technology used by vb script?

523


When does ‘on click of button’ event gets triggered in the vbscript language?

544