diff --git a/isrcsubmit.bat b/isrcsubmit.bat index 0040037..8512160 100644 --- a/isrcsubmit.bat +++ b/isrcsubmit.bat @@ -1,5 +1,9 @@ @echo off -for /f "tokens=2 delims=:." %%x in ('chcp') do set cp=%%x -chcp 65001>NUL & cmd /c "isrcsubmit.py %*" & chcp %cp%>NUL +setlocal echo. -pause +for /f "tokens=2 delims=:." %%x in ('chcp') do set cp=%%x +chcp 65001 >nul +python "%~dp0isrcsubmit.py" %* +chcp %cp% >nul +echo %cmdcmdline%|findstr /c:"%~nx0" >nul +if %errorlevel% equ 0 echo.&pause