I have written a batch file that calls a .vbs application. I need to pass an argument from the batch file to the vb script. How do I pass it? How do I use it in the vb script? This is what I have so far:
In the batch file:
applicationName.vbs -p argumentValue
If your running NT or > check START/HELP enter BATCH and then look for SHIFT... Shift allows you to put a number of parameters at the command line and they shift to the left as each parameter completes in the script/batch file.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.