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

How to create pull down menu box using vb script

0 Answers  


What is the difference between Javascript & Vbscript?

2 Answers  


Explain about .wsf files?

0 Answers  


write a vb script to create a folder?

3 Answers  


wat is com(common object model)object for mozilla firefox??? if any knows the exact answer....plz rply me

2 Answers  






Out of the different type of operators, which are evaluated first and last in the vbscript language?

0 Answers  


write a program to display configuration of a local system with the help of vb script.

0 Answers  


Hi everybady, i have faced few Qns in one of i attended interview, please help me out with these below Qns. 1. how to join values without using join function? 2. how to compare values without using String compare function? 3. input is Bangalore, but i need output like this below format, what is function to use and get this outcome B A N G A L o R E 4. Input is "CapGemini" but uotput should be like this "inimeGpaC" 5. Input is 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 Can someone let me know results of this Qns, please. Thanks.

2 Answers   CSS Corp,


Explain the constants in vbscript?

0 Answers  


How will you generate Reports using Vb Script?it asked in testing(QTP)Interview.Plz Any Body Let me know. Thanks uday Uday_testing@yahoo.co.in

4 Answers   NIIT,


when you use For Loop, While..do, do..while? at what situations which loop will use.

1 Answers  


What are the valid scopes of a variable in vbscript?

0 Answers  


Categories