Skip to content

Instantly share code, notes, and snippets.

@noonworks
Created September 19, 2014 03:47
Show Gist options
  • Save noonworks/4ce0f996d98e66c3ae43 to your computer and use it in GitHub Desktop.
Save noonworks/4ce0f996d98e66c3ae43 to your computer and use it in GitHub Desktop.
JScriptとして実行できるバッチファイルの先頭に書くやつ
@if(0)==(0) echo off
cscript.exe //nologo //E:JScript "%~f0" %*
exit /b %ERRORLEVEL%
@end
// JScript code start
@noonworks
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment