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 |
Hi all..I have two values. a=20 ,b=30 I want to perform c= a+b and c= a*b using user define function.please anyone give the answer
how to get date format from system locale..format means neither long nor shor... format from system locale. i need like your date is mm/dd/yyyy formate or mm-dd-yy or with time like that. how to get.
How to remove the spaces in a string Ex: "this is apple"
I'm new to QTP, i facing a a problem in the script says"Object not found", "Browser("").page("").frame(Name:=fminfo).webtable(). the issue is, QTp is not able to identify the web table in run time.becuase in that fram"fminfo" there are "n"table and the table do not have the names,Html id. 1) i need to count the number webtables available on that page. 2)need to identify the webtable cell values. 3)How Loop the once i get the count and retrive the cell data of each webtable? Can anyone help on this, plz.. Thanks, Suresh
write a vb script to display apple that is 1st a should be displayed then ap then app then appl then apple
How to throw an error in vbscript?
What methods are used to create text files and open text files in the vbscript language?
How will you get the octal value of the given number in vbscript?
In html file what is an ideal position to include vbscript?
How to use QTP Object in .vbs(vbscript file) file Ex: Browser().., wait(), exist() and etc...
What are the special sub-types in vbscript?
Why to use option explicit in vb script?