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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about arrays in vb script?

813


who will create the object?

1930


What are lbound and ubound in the vbscript language?

836


Explain about the extension .hta?

854


how to operate webobjects in a webpage using getobject function and then using generic methods?

2829


How to assign a date value to a variable?

797


For a webbased application:- what should be code in expert veiw, for retrieving a single column name "username" from a server and checking whether exported "username" from datatable doesn't exist in server. suppose i have saved in excelsheet a username="gayatri" , which is exported, then checked for whether this username "gayatri" exist in server database or not ? if exist then allow to enter new username, which should be again checked for in loop , or else come out of loop and enter a distinct "username". plz let me have this answer in my id gayatrisahooin@hotmail.com

1983


What are subprocedures in vbscript?

887


what is the use of QCUtil? explain with one example?

6683


How to use QTP Object in .vbs(vbscript file) file Ex: Browser().., wait(), exist() and etc...

3168


What are class events?

769


what is inner join? what is outer join? what is a constraint? tell me about rdbms? tell me about acid properties?

1654


What are the special sub-types in vbscript?

781


how does vb script help in web page designing? explain with example.

1778


hi what is called GUI in QTP 8.2 and how can we test the apllication using GUI?

2055