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 diff between static and dynaic arrys?

1584


Which in-built functions are used to convert the specified expression in the form of date and string in the vbscript language?

538


When does ‘on click of button’ event gets triggered in the vbscript language?

543


Mention what is the difference between vbscript and vba?

516


What aspects of vbscript make it safe so that a web page using vbscript cannot destroy or corrupt information on a user's computer?

576






Mention how you can call vbscript functions?

581


while using Keyward driven framework in QTPif new requirements are added how to manage it...plz ans

1564


What are the valid scopes of a variable in vbscript?

607


Explain different types of segment?

565


how to set one column as primary key in QTP and fetch values accordingly

1819


Explain the string concatenation function in vbscript?

536


What is the difference between vb debugger and the script debugger?

584


how to write codings in QTP using vb script. please help me. i am new to QTP. it is easy or very much tough. please tell me

12879


Compare java script and vb script?

591


Which date function is used in the vbscript language to find the difference between the 2 dates?

589