|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
How can I write a bat file to execute a vbscript file and send variables to the script via the command line. Thanks for the reply.
![]() |
|
#2
|
|||
|
|||
|
With notepad maybe?
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
|||
|
|||
|
Doug G
Thanks for the reply. Good answer to my unclear question. I think what I should have asked was if I have a vbs file that accepts variable from the command line, what would the bat file look like. I have created bat files like csript test1.vbs erase test1.bat before but am in need to pass variables to the vbs file maybe through the bat file. I think it should be like this cscript test1.vbs "param1" "param2" ... erase test1.bat thanks for the reply. ![]() |
|
#4
|
|||
|
|||
|
Found this on this site. I think I am resolved. hanks for the replies
http://www.aspfree.com/c/a/Windows-Scripting/Pass-variables-to-a-Windows-Scripting-Host-file/ ![]() |
|
#5
|
|||
|
|||
|
I'm glad you resolved it, I didn't know the answer for you
![]() |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Command line initiating |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|