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

Mention what is the technology used by vb script?

724


how to acces the remote mechine using vb cript(QTP)

1781


How can you fetch the value of a cookie?

766


when we use filter funtiom invb script(QTP)

2496


Is vbscript language a case-sensitive language and what does it mean?

762


Which object is used to work with the database in the vbscript language and what statement is used to create this object?

720


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

13503


Which conditional statement is the most convenient one to use in the case of multiple conditions in the vbscript language?

718


How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.

2800


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

1934


Write a Script for ATM in QTP

3583


How do i automate a website www.flyashx.com without having any test cases witin a week time.

1654


Mention when to use function procedures and what are its characteristics?

842


i have a problem with this error(this error related edit and delete button,when i click this button in datagrid..i will get this error)"Invalid postback or callback argument. Event validation is enabled using in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation." this is my code : <%@ Page Language="VB" Debug="false" %> <%@ import Namespace="Sytem.Data" %> <%@ import Namespace="System.Data.OleDB" %>

(Search Based On Staff I.C No) IC.No (XXXXXX-XX-XXXX)   ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> Total Leave Taken : Days

2518


Capture the Unique label changes on google home page for I am feeling lucky button and save those label changes to Notepad Note: Using QTP

2082