write a vb script to rename a folder from tree4 to tree7
Answers were Sorted based on User's Feedback
Answer / ranadheer
dim vfso
set vfso=createobject("scripting.filesystemobject")
vfso.renamefolder "C:\tree4","C:\tree7"
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / usha
set fso=createobject("scripting.filesystemobject")
set f=fso.getfolder("C:Tree4")
f.name="Tree7"
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / mudaseer
dim vfso
set vfso=createobject("scripting.filesystemobject")
vfso.movefolder "C:\tree4","C:\tree7"
Is This Answer Correct ? | 1 Yes | 2 No |
In html file what is an ideal position to include vbscript?
write a program to display the system specifications of client system with the help of vb script.
write a vb script to display the number is odd or even and whether it is divisible by 9 or not
wat is the com(common object model)object for mozilla firefox???????plz if any one know the exact answer....reply me......
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.
How to create a cookie using vbscript?
Hello friends..... Can any give the methods for Ms-Access, and Mozilla firefox in Automation Object Model in QTP. Please give me currect answers... if you do not understand my question please don't give answers. Thanking you.
How will you get a random number between 0 and 1 in vbscript?
how to write validation function for date in vb script
How to delete a cookie using vbscript?
pls tell me which is good book or site for vbscript?
How to map test cases with Automation script? Please explain in details.With example Thanks for your co-operation(In Advance)