Hi
I am writing a little script using vbscript to perform a number of actions on some files I have. Now, I want to be able to pass a few arguments to this script.
If I was using batch, I could do 'mybatch.bat Arg1 Arg2' and refer to these with %1 and %2 within the script.
Is this possible to do within vbscript, e.g.
cscript myvbs.vbs Arg1 arg2
If so, how would I refer to these from within the script?
Thanks for your help
GWG
I am writing a little script using vbscript to perform a number of actions on some files I have. Now, I want to be able to pass a few arguments to this script.
If I was using batch, I could do 'mybatch.bat Arg1 Arg2' and refer to these with %1 and %2 within the script.
Is this possible to do within vbscript, e.g.
cscript myvbs.vbs Arg1 arg2
If so, how would I refer to these from within the script?
Thanks for your help
GWG