write a vb script to rename a folder from tree4 to tree7
Answers were Sorted based on User's Feedback
Answer / ranadheer
dim vfso
set vfso=createobject("scripting.filesystemobject")
vfso.renamefolder "C:\tree4","C:\tree7"
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / usha
set fso=createobject("scripting.filesystemobject")
set f=fso.getfolder("C:Tree4")
f.name="Tree7"
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / mudaseer
dim vfso
set vfso=createobject("scripting.filesystemobject")
vfso.movefolder "C:\tree4","C:\tree7"
| Is This Answer Correct ? | 1 Yes | 2 No |
Hi Friends, I have an issue like the describe below: I'm using QTP and I'm testing on SharePoint. As you knoe, SharePoint has a customize function for user, so that, If I add an object Web Table at the first time, that object was recognized by "index" and "html tag", after that, if someone change the display of web part, the "Index" of my object was changed as well and QTP unable to select that Web Table. Can you guide me how to identify or anyway to keep that Web Table object as unique object? Thanks a lot.
Hi, Anybody could you Please tell me How to write the script for Checking whether given number is Prime Number or not..Thanks in Advance
what is the purpose of the Reporter.ReportEvent in QTP and also please give the brief description about Reporter.ReportEvent ?
write a vbscript for traffic signal
What is the difference between function and procedure?
Could Anybody tell me the Script for REVERSE an Interger int reverse(int num) Ex:246 to 642.. Thanks in Advance.
How to take whole text output from screen of Bitmap Application.
Is vbscript language a case-sensitive language and what does it mean?
Which object is used to work with the database in the vbscript language and what statement is used to create this object?
after medical test,when will be the police verification
Description.Create
Hi Friends Rajendra this is bhavani prasad, iam working Hyderabad. i faced one problem with qtp recording mode i.e in my application there is 100 records first we click the first record that record will be jumped to next session and 99 records will there stop the recording and run the same script .Run this script qtp does not identify the records. So plz tell me what is the solution.