English Translation of Script Examples vbscript autoit php batch
Sprache ändernEnglish (United Kingdom) German (DE)

pass variables from Command Line to vbscript

(1)
rate this article
(4)

use command prompt variables in vbscript

it is possible to pass variables from Command Line to vbscript
the variable can be imported in vbscript by executing the following command:
Wscript.Arguments(0)
0 means the first attached variable in Command Line

on several variables that looks like this:
vbsFile Space Variable Space 2ndVariable
z.B.: my.vbs firstvariable secondvariable
the second variable in vbs will be
Wscript.Arguments(1) usw ...
<<< Compare in vbscript


new article

Search on this page
19.05.2012 02:09 now 5 Reader online