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 |
Mention characteristics of sub procedures?
give me any information abou vb script books learn quckly
write a vb script to display the reverse of vbs
What is the difference between ByRef and ByVal. When to use ByRef and ByVal
How to Enter Values on the Command promt using VB script
How to write Descriptive programming in .VBS file i wrote this code but it is giving error.. Dim qtApp set qtApp=createobject("QuickTest.Application") qtApp.Launch qtApp.Visible=True Set objIE = CreateObject("InternetExplorer.Application") objIE.visible = True objIE.Navigate "www.gmail.com" browser("title:=gmail").title("title:=gmail")
How many types of operators are available in the vbscript language?
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
How can you destroy an object in vbscript?
hi i am trying for testing job for 3+ experience(fake) can u suggest me what type of projects i can keep in my resume and how much of knoeledge i should have abt that project.thnks in advance.urgt plz
How will you format a number in percetage format in vbscript?
I want to count the total no of links present in yahoo home page. The script like Set fileSysObject=createobject("Scripting.FileSystemObject") Set linksFileName=fileSysObject.opentextfile("D:\samplelinkfile.txt",2,true) Set linkDescObj=description.Create linkDescObj("micclass").value="Link" Set noOfLinks=browser("yahoo").Page("Yahoo!India").ChildObjects(linkDescObj) For i=0 to noOfLinks.count-1 linkName=noOfLinks(i).getROProperty("name") linksFileName.writeline(linkName) Next linksFileName.close Set fileSysObject=nothing But while running the script it is fail (the object not present in the object repository).How to overcome please tell me the detail steps...for QTP9.30