Created
September 10, 2014 10:50
-
-
Save hymkor/1530fe3e9aa7ec04b382 to your computer and use it in GitHub Desktop.
JScript をバッチファイル内に埋め込んでみる(shebangもどき) ref: http://qiita.com/zetamatta/items/0e4b28b46d007f308c60
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<HAYAMA-PC:~> | |
✏ foo.cmd | |
[36;40;1m<HAYAMA-PC:C:\Users\Hayama> | |
rem = 0 /* | |
ahaha |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rem = 0 /* | |
@cscript //E:JScript //nologo "%~f0" %1 %2 %3 %4 %5 %6 %7 %8 %9 & exit /b | |
*/ | |
WScript.Echo("ahaha") | |
// vim:set filetype=javascript: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment