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 |
What are the 2 ways to pass a value to the function?
Hi, can any one tell this Actually I AM NEW TO QTP I have one qtp script in which it calls the vbs file during it's run TIME by using the ExecuteFile "absolute path" If the vbs file is executed seperately it will give the output in a msgbox In the same way if qtp script is executed the result will be displayed in w result window right? Now the question is how to get that vbs file output in the qtp result window when I run the qtp script which calls the vbsfile during it's run TIME
How to replace junk code recorded by QTP with a mall function.
How will you convert a string to upper case string using vbscript?
How to get path of the file through scripting?
Write a program to resize an array of 5 elements to 4 elements and display all the elements.
Explain about vb script?
In what way program "hello world" you can write in vbscript?
How to select a value from a list box by using Selenium web-driver?
Explain some uses of vb script?
What are the data types supported by vbscript?
write generic functions for webapplication?like generic function for webedit generic function for webbutton generic function for links