write a vb script to create a folder?

Answers were Sorted based on User's Feedback



write a vb script to create a folder?..

Answer / mudaseer

dim vfso
set vfso=createobject("scripting.filesystemobject")
vfso.createfolder "c:\apple"

Is This Answer Correct ?    1 Yes 1 No

write a vb script to create a folder?..

Answer / suman

dim x
set x= createObject("Scripting.FileSystemObject")
x.CreateFolder()

Is This Answer Correct ?    0 Yes 0 No

write a vb script to create a folder?..

Answer / prathyusha

set ofso=createobject("scripting.filesystemobject")
set ofold=ofso.createfolder(strpath)

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More VB Script Interview Questions

What is difference between Active screen and movie screen recorder in QTP 9.2?

1 Answers  


Mention the environments where vbscript could be run?

0 Answers  


Explain about scrrun.dll in vbscript?

0 Answers  


What is a difference between scripting language and programming language?

2 Answers  


What is vbscript language used for and which earlier language is it modeled upon?

0 Answers  






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

3 Answers  


write a vbscript for traffic signal

1 Answers  


What are class properties?

0 Answers  


Plz give the vb script for the following scenerio. In travel booking we have to select from delhi to mumbai from the combobox The prices will be display in another combo box .But i have to select the lowest price for it and submit it

1 Answers   IBM,


write a vb script create 5 folders test1 test2 test3 test4 test5

3 Answers  


Mention what is the main difference between function and sub-procedure?

0 Answers  


How will you get the last occurrence of one string within another string using vbscript?

0 Answers  


Categories