write a vb script to rename a folder from tree4 to tree7
Answer Posted / ranadheer
dim vfso
set vfso=createobject("scripting.filesystemobject")
vfso.renamefolder "C:\tree4","C:\tree7"
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to write functions and sub in vb script?
Why is it recommended to close the database connection every time after the work is completed?
Hi Friends, I have an issue like the describe below: I'm using QTP and I'm testing on SharePoint. As you knoe, SharePoint has a customize function for user, so that, If I add an object Web Table at the first time, that object was recognized by "index" and "html tag", after that, if someone change the display of web part, the "Index" of my object was changed as well and QTP unable to select that Web Table. Can you guide me how to identify or anyway to keep that Web Table object as unique object? Thanks a lot.
I have an excel sheet with multiple ID's in a column. Now i need fetch those ID's in an application and check whether if it already exist in the DB. If not then i have to go with the process of inserting them in the DB. If it exists then i need to skip that ID and move to the next ID and check the same and proceed. How can i do that with for loop and if condition?
How can the spaces from the string be removed?
when we use filter funtiom invb script(QTP)
How many types of operators are available in the vbscript language?
Mention what if you do not specify anything when you call a procedure?
Explain about operator precedence in vb script?
1) How can we use VB script in testing the application? 2) What all are the things(Software application to be installed in PC) we need to learn VBscript?
Which operator can be used to do an xor operation in vbscript?
if u ve resrevation for train and u get a number supose 1234xxxokie.after sucessul entering all required fields. now u put that number in search and want to chk wether these ar same or not if both ar same then its okie otherwise test fail.what would be the vb script code for it to compare these two values of different page.
Which operator is used to concatenate the 2 values in the vbscript language?
If else for do while select in vb script?
What is the purpose of drive object of scripting.filesystemobject class in vbscript?