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
What is the difference between VBScript and JavaScript?
I am working on QTP, got struck in one place.. In my application depending upon configuration WebEdit count is increasing/ decreasing.. how to get these webedits..
Explain about the asc function?
Mention how to access array data?
Which constant is used for print and display functions and works as same as pressing enter key?
How will you get the exponent of the given number in vbscript?
What is the technology used by vb script?
What are the differences between sub procedures and function procedures?
Mention what is variant in vbscript?
why do u choose to go for testing why cant for devoloping
Mention what if you do not specify anything when you call a procedure?
How to create a function in vbscript?
i am having some basic knowledge in c and VB 6.0. i qtp i want to know how to write the codings. by recording it is generating lot of codings. for example i want to test the text box. senerio is text box should not accept alphabets if it accept alphabets we should return fail status if it get number we should return pass status. how to write coding in vb script please help me
Set srchobj=Description.Create() srchobj("type").value="text" srchobj("name").value="q" srchobj("html tag").value="input" browser("micclass:=google").Page("micclass:=google").webedit (srchobj).Set "qtp" what's wrong in my code pls tell me ? the above code working fine and i got my result pass,now i am trying to run the program it shows general run time error why?pls help me i am in learning stage ?
How will you get the smallest subscript of an array in vbscript?