@echo off echo %*|>nul findstr /rx \-.* if ERRORLEVEL 1 ( "%~dp0\j.bat" "%cd%" %* ) else ( python "%~dp0\autojump" %* )