Tutorial by Examples

The old-school method for running another script from batch is to echo the script into another location, and then run it. This method can be represented like this: @echo off rem VBS below echo your vbs > TempVBS.vbs echo other vbs>>TempVBS.vbs rem End of VBS cscript //nolog...
Here's an example with the technique(hack) invented by the dostips forums' user Liviu: @echo off echo Printed by CMD.EXE cscript //nologo "%~f0?.wsf" //job:JS //job:VBS exit /b %errorlevel% ----END OF BATCH CODE--- <package> <job id="JS"> <script...

Page 1 of 1