xonsh/tests/bin/pwd.bat

15 lines
175 B
Batchfile
Raw Normal View History

2016-09-24 15:56:15 -04:00
@echo off
call :s_which py.exe
if not "%_path%" == "" (
py -3 pwd %*
) else (
python pwd %*
)
goto :eof
:s_which
setlocal
endlocal & set _path=%~$PATH:1
goto :eof