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

Mention the environments where vbscript could be run?

0 Answers  


wht must be the interview question on corinthian information technology solutions incorporated.

0 Answers   HP,


How strcomp function works?

0 Answers  


Mention what is vbscript?

0 Answers  


In html file what is an ideal position to include vbscript?

0 Answers  


A folder is there inside no of textfiles are avilable. How do count the textfiles. Normally folder means we are using subfolder methods but textfiles is not working for subfolder methods and how do get file name also.

0 Answers  


Mention what is the use of option explicit in vbscript?

0 Answers  


Explain about vb script?

0 Answers  


Write a test case using Test if the images,a particular test exists,check if the page links match,page response is within a certain range,parameterization of the test,the test should comprise of actions,the test should use a custom function,the test should use global repository

0 Answers  


compare the string without using stringcomp function?

1 Answers   CSS Corp,


How to write VB script for login module?

0 Answers  


i have to open a notepad having no. of words in dat file by recording in qtp and then find a particular word and display true or false

0 Answers  


Categories