Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


write a vb script to rename a folder from tree4 to tree7

Answers were Sorted based on User's Feedback



write a vb script to rename a folder from tree4 to tree7..

Answer / ranadheer

dim vfso
set vfso=createobject("scripting.filesystemobject")
vfso.renamefolder "C:\tree4","C:\tree7"

Is This Answer Correct ?    1 Yes 0 No

write a vb script to rename a folder from tree4 to tree7..

Answer / usha

set fso=createobject("scripting.filesystemobject")
set f=fso.getfolder("C:Tree4")

f.name="Tree7"

Is This Answer Correct ?    0 Yes 0 No

write a vb script to rename a folder from tree4 to tree7..

Answer / mudaseer



dim vfso
set vfso=createobject("scripting.filesystemobject")
vfso.movefolder "C:\tree4","C:\tree7"

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More VB Script Interview Questions

What are the 2 ways to pass a value to the function?

0 Answers  


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

1 Answers  


How to replace junk code recorded by QTP with a mall function.

0 Answers  


How will you convert a string to upper case string using vbscript?

0 Answers  


How to get path of the file through scripting?

1 Answers   Hexaware,


Write a program to resize an array of 5 elements to 4 elements and display all the elements.

1 Answers  


Explain about vb script?

0 Answers  


In what way program "hello world" you can write in vbscript?

0 Answers  


How to select a value from a list box by using Selenium web-driver?

2 Answers   HCL,


Explain some uses of vb script?

0 Answers  


What are the data types supported by vbscript?

0 Answers  


write generic functions for webapplication?like generic function for webedit generic function for webbutton generic function for links

1 Answers  


Categories