write a vb script create 5 folders test1 test2 test3 test4
test5
Answers were Sorted based on User's Feedback
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 |
Answer / simha
It is correct. automatically created 5 folders using this
VB script.
| Is This Answer Correct ? | 0 Yes | 0 No |
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 |
what is the function to get the ascii value of the character?
How to open browser in vb script?
Differentiate javascript and vbscript?
How are values assigned to the variables in the vbscript language?
Which respective symbols are used to separate a line and to break the lengthy statement into multiple statements in the vbscript language?
Explain about adodb.stream class?
Mention what is the main difference between function and sub-procedure?
what is the use of Data base check point ?
Which operator can be used to change the value of the operand or change the state of the condition?
Explain about vb script?
Why is the use of exit do or exit for statements within loops discouraged?
create a form to accept username and password validate the username and password with using message box, display the corresponding user message