diff options
Diffstat (limited to 'src/win32ctl/pmafm.bat')
-rwxr-xr-x | src/win32ctl/pmafm.bat | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/win32ctl/pmafm.bat b/src/win32ctl/pmafm.bat new file mode 100755 index 0000000..91e96b7 --- /dev/null +++ b/src/win32ctl/pmafm.bat @@ -0,0 +1,10 @@ +@echo off
+if "%OS%" == "Windows_NT" goto WinNT
+%PCP_DIR%\bin\sh.exe pmafm.sh %1 %2 %3 %4 %5 %6 %7 %8 %9
+goto endofbash
+:WinNT
+%PCP_DIR%\bin\sh.exe pmafm.sh %*
+if NOT "%COMSPEC%" == "%SystemRoot%\system32\cmd.exe" goto endofbash
+if %errorlevel% == 9009 echo You do not have sh.exe in your PCP_DIR.
+if errorlevel 1 goto script_failed_so_exit_with_non_zero_val 2>nul
+:endofbash
|