Revision: 7445
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at July 25, 2008 02:19 by mitry
Initial Code
@set @cmdinterop=1 /* @set @cmdinterop= @%SystemRoot%\system32\cscript.exe //NoLogo //E:JScript "%~f0" %* & exit /b */ // JScript start here: var today = new Date(); WScript.Echo(today);
Initial URL
http://blogs.msdn.com/joshpoley/archive/2008/01/15/running-jscript-in-a-cmd-file.aspx
Initial Description
embed the JScript code in a .cmd file
Initial Title
Running JScript in a CMD File
Initial Tags
Initial Language
JavaScript