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

Like OPTION EXPLICIT statement what are the other statements used in vbscript and their usage. Please post me all the statements please.

1619


Explain about arrays in vb script?

602


Why to use option explicit in vb script?

594


What is the purpose of on error resume next statement?

575


How can you fetch the value of a cookie?

548






Mention what is variant in vbscript?

552


Hi, Can anyone please send me vb script examples to practice vb and also material to learn vb scripting in QTP? my email id : hareen_11@yahoo.com

1812


Hai this is sheik, i want to learn VB scripts for web application pls guide me what are all basic things need to know to learn VB scripts in web application.

1432


Explain about tristate constants?

583


What is dictionary object in vbscript? Explain?

623


Which keyword is used to declare a variable in the vbscript language?

529


How to delete a cookie using vbscript?

551


Differentiate javascript and vbscript?

567


Mention how to assign a date value to a variable?

585


How strcomp function works?

624