nopt.cmd 174 B

1234567
  1. @IF EXIST "%~dp0\node.exe" (
  2. "%~dp0\node.exe" "%~dp0\..\nopt\bin\nopt.js" %*
  3. ) ELSE (
  4. @SETLOCAL
  5. @SET PATHEXT=%PATHEXT:;.JS;=;%
  6. node "%~dp0\..\nopt\bin\nopt.js" %*
  7. )