write a vb script to rename a folder from tree4 to tree7
Answer Posted / ranadheer
dim vfso
set vfso=createobject("scripting.filesystemobject")
vfso.renamefolder "C:\tree4","C:\tree7"
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Write a code to print numbers from 5 to 0?
Mention what is the difference between vbscript and vba?
How to take whole text output from screen of Bitmap Application.
Explain the tristate constants in vbscript?
When are redim statement and preserve keyword used in the vbscript language?
What if you do not specify anything when you call a procedure?
What is the purpose of drive object of scripting.filesystemobject class in vbscript?
after medical test,when will be the police verification
Which data type/types are supported by vbscript language and what are their specialties?
What is the use of option explicit statement?
How to access array data?
Mention what is the technology used by vb script?
How to assign a numeric value to a variable?
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
Explain the asc function?