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 everybady, i have faced few Qns in one of i attended interview, please help me out with these below Qns. 1. how to join values without using join function? 2. how to compare values without using String compare function? 3. input is Bangalore, but i need output like this below format, what is function to use and get this outcome B A N G A L o R E 4. Input is "CapGemini" but uotput should be like this "inimeGpaC" 5. Input is 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 Can someone let me know results of this Qns, please. Thanks.

2 Answers   CSS Corp,


input values to accept 2 numbers & print the product, difference and sum using switch case

1 Answers   CSC,


I want to run QTP script on Linux server is it possible to do this by connecting Windows to Linux through VPN/Terminal Server and just run the script on Linux server.

0 Answers  


HOW TO OPEN NEW TAB USING VB SCRIPT IN QTP?

1 Answers   TCS,


How to get the length of the string by making use of the string function?

0 Answers  






write a vb script to generate 3*3 matrix

2 Answers  


Plzzzzzzz can any one tell me which is the best institute in hyderabad for learing VBScript. plz do answer guys its urgent plzzzzzzz. thanks in advance.

0 Answers  


What is a difference between scripting language and programming language?

2 Answers  


I want good books or good sites for scripting.Can any one help me.

0 Answers   Wipro,


Give me sm ideas to write Vbscripts abt protocol testing abilash700@gmail.com.

0 Answers  


Mention the rules for using option explicit statement?

0 Answers  


What is the difference between vbscript and vba?

0 Answers  


Categories