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

Answer Posted / usha

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

f.name="Tree7"

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of the instr function?

813


What purpose does ‘on error resume next’ serves?

812


when we use filter funtiom invb script(QTP)

2508


Hi anyone Can Send Solution to the Question wt m posting now Prepare Script for the Bellow Scenario? Login to Gmail Page Open Inbox check Mails save them in a Folder

1865


How to open browser in vb script?

845


how to increasing the numbers in a given text box please write a vb script

1993


Mention how to access array data?

706


What is the purpose of the err object in the vbscript language?

877


How to open excel in vb script?

788


Mention what is the main difference between function and sub-procedure?

781


What is the purpose of on error resume next statement?

775


What are the 2 ways in which a variable can be declared in the vbscript language?

818


Which in-built function is used to format the number in the vbscript language?

800


Explain about scrrun.dll in vbscript?

889


1) How can we use VB script in testing the application? 2) What all are the things(Software application to be installed in PC) we need to learn VBscript?

3803