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


Please Help Members By Posting Answers For Below Questions

I want to run QTP script on Linux server is it possible to do this by connecting Windows to Linux through VPN/Terminal Server and just run the script on Linux server.

2036


Which data type/types are supported by vbscript language and what are their specialties?

825


Mention how to create a cookie using vbscript?

762


Explain about constants in vb script?

794


Program to use input box and send even numbers into sheet1 and odd numbers into sheet2 and prime numbers into sheet3 using vbscript(QTP)?

2834


How to Enter Values on the Command promt using VB script

1769


Capture the Unique label changes on google home page for I am feeling lucky button and save those label changes to Notepad Note: Using QTP

2096


how to increase the values in text box in a given text box increament by two values by clicking on button

1891


what is diff between static and dynaic arrys?

1850


write any ttest cases using check points and parameterization

2051


Develop a parameterized action that accomplishes the following a. Launch a browser of users choice ( example : IE, chrome etc) b. Open up a search engine (Google, Bing etc) c. Perform a search d. Click a particular link depending on the user’s choice ( 1st , 2nd or third link)

1641


What are the properties of regexp object?

817


Explain the string concatenation function in vbscript?

757


what is used of Property........End Property loop ? how to write the script for it?

1947


Can someone please tell me what poor design in a relational database (not the layout or style) is and how it can be avoided? PLEASE...im desperate.

1637