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

How to get the length of the string by making use of the string function?

572


What is the event handling in vbscript?

565


what is used of Property........End Property loop ? how to write the script for it?

1692


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

567


what is inner join? what is outer join? what is a constraint? tell me about rdbms? tell me about acid properties?

1436






How will you get a random number between 0 and 1 in vbscript?

721


hi all, i had a question, that how to find out hiding a coloumn in a table i had a table having the following column names NAME DESCRIPTION CREATED TIME CREATED USER if i right clicked on a NAME column it will displays a menu having the same column names in a list like NAME DESCRIPTION CREATED TIME CREATED USER with check boxes.if i unched any check box, that column name should not be appear in the main table column names could anyone please solve this problem?

1554


Which data type/types are supported by vbscript language and what are their specialties?

598


How to assign a numeric value to a variable?

623


Which operator can be used to change the value of the operand or change the state of the condition?

581


did any one attended interview in applabs if you had gone through plz tell me the procedure

1863


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

12902


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

630


what is event handling?

586


What if you do not specify anything when you call a procedure?

540