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 |
i wrote vbscripit code in notepad i got error i am in learning stage if u ps tell me what wrong in my code my error is "object required descriptive at line one run time error"and my code is "set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signinobj("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Set secure.Crypt.Encrypt("enter password") browser("gmail").page("gmail").WebButton("siginobj").click
What is the equivalent of VBScript?s On Error In Jscript ?
Can any 1 modify the code whr in want to add\rename a excel sheet in qtp?
How are values assigned to the variables in the vbscript language?
Explain about scrrun.dll?
What are the advantages of vbscript?
In qtp, how to use XML files for framework. if the XML files are more Efficient than Excel files?
Which object provide information about a single runtime error in a vbscript?
What is the difference between vb debugger and the script debugger?
write a vb script to display the reverse of vbs
how to write basic programs in VB Script like addition, multiplication?
How will you check that a variable is an array in vbscript?