write a vb script to create a folder?
Answers were Sorted based on User's Feedback
Answer / mudaseer
dim vfso
set vfso=createobject("scripting.filesystemobject")
vfso.createfolder "c:\apple"
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / suman
dim x
set x= createObject("Scripting.FileSystemObject")
x.CreateFolder()
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / prathyusha
set ofso=createobject("scripting.filesystemobject")
set ofold=ofso.createfolder(strpath)
Is This Answer Correct ? | 0 Yes | 0 No |
What is difference between vbscript and vba?
What is the difference between do until loop and do while loop?
How to select a value from a list box by using Selenium web-driver?
Mention the rules for using option explicit statement?
Which data type/types are supported by vbscript language and what are their specialties?
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.
What is a difference between scripting language and programming language?
Which operator can be used to do an xor operation in vbscript?
How to write VB Script for selecting a particular row in a WebTable?
Which operator is used for fetching the modulus of the 2 numbers in the vbscript language?
If else for do while select in vb script?
What are the 2 ways in which a variable can be declared in the vbscript language?