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 vbscript and vba?

0 Answers  


What is the difference between do until loop and do while loop?

0 Answers  


How to select a value from a list box by using Selenium web-driver?

2 Answers   HCL,


Mention the rules for using option explicit statement?

0 Answers  


Which data type/types are supported by vbscript language and what are their specialties?

0 Answers  


My questions is while writting descriptve programming, lets take flight reservation. Line1: systemutil.Run "D:\Program Files\Mercury Interactive\QuickTestProfessional\samples\flight\app\flight4 a.exe" dialog("text:=Login").WinEdit("attached text:=Agent Name:").Set "mercury" dialog("text:=Login").WinEdit("attached text:=Password:").Set "mercury" dialog("text:=Login").WinButton("text:=OK").click window("text:=Flight Reservation").Activate window("text:=Flight Reservation").ActiveX ("acx_name:=MaskEdBox").Type "111111" window("text:=Flight Reservation").WinComboBox("attached text:=Fly From:").Select "Frankfurt" window("text:=Flight Reservation").WinComboBox("attached text:=Fly To:").Select "London" window("text:=Flight Reservation").WinButton ("text:=FLIGHT").Click window("text:=Flight Reservation").dialog("text:=Flights Table").WinList("text:=From").Select "13536 FRA 08.00AM LON 08.45AM SR $163.00" window("text:=Flight Reservation").dialog("text:=Flights Table").WinButton("text:=OK").Click window("text:=Flight Reservation").WinEdit("attached text:=Name:").Exist window("text:=Flight Reservation").WinEdit("attached text:=Name:").Set "sagar", Now i m getting the error in the last line. it is not accepting the WinEdit("attached text:=Name:") Please do solve this urgent...! and i want to know how to insert additional properties for an object and which properties we need to select from the object spy.

3 Answers  


What is a difference between scripting language and programming language?

2 Answers  


Which operator can be used to do an xor operation in vbscript?

0 Answers  


How to write VB Script for selecting a particular row in a WebTable?

1 Answers   Patni,


Which operator is used for fetching the modulus of the 2 numbers in the vbscript language?

0 Answers  


If else for do while select in vb script?

0 Answers  


What are the 2 ways in which a variable can be declared in the vbscript language?

0 Answers  


Categories