extra jscript
Run a Jscript.NET script in Windows Console.
Ejecute un script Jscript.NET en la consola de Windows.
- Descargar archivo exe.
- Copie a
C:Program_FilesScripts
.- Agregue
C:Program_FilesScripts
a la variable de entornoPATH
.
> ejscript [-c | --compile] [-o | --output < output binary > ] < input script > [input arguments to script]...
:: [] -> optional argument
:: <> -> argument value
:: run "pokemon.js" with no input arguments
> ejscript pokemon.js
:: run "pokemon.js" with input argument "bulbasaur"
> ejscript pokemon.js bulbasaur
:: run "pokemon.js" with input arguments "bulbasaur --height"
> ejscript pokemon.js bulbasaur --height
:: only compile "pokemon.js", and get its output path
> ejscript --compile pokemon.js
:: set output binary for "pokemon.js" and run
> ejscript --output " C:Games and Appspokemon.exe " pokemon.js
:: set output binary for "pokemon.js" and only compile
> ejscript --output " C:Games and Appspokemon.exe " --compile pokemon.js
:: run "ocolor.cmd" with input arguments "yellow black"
> ejscript ocolor.cmd yellow black