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 |
How can I access an object in another frame?
What is vbscript language used for and which earlier language is it modeled upon?
write a function to read the items from combobox of Flight reservation & save in excel (QTP)??
write a vb script code to display the vbscript word by word (i e 1st it should display v then b and up to t )
How to remove the spaces in a string Ex: "Welcome to QTPWorld" ?
How to Convert Hex color code to color name in VB Script?
Which operator is used to concatenate the 2 values in the vbscript language?
while using Keyward driven framework in QTPif new requirements are added how to manage it...plz ans
what is diff between static and dynaic arrys?
How to Enter Values on the Command promt using VB script
who will create the object?
how to set one column as primary key in QTP and fetch values accordingly