@echo off rem Simplistic script to execute agide. if NOT .%PYTHON%==. goto havepython set PYTHON=python :havepython if .%OS%==.Windows_NT goto ntaction rem collect the arguments in AGIDEARGS for Win95 set AGIDEARGS= :loopstart if .%1==. goto loopend set AGIDEARGS=%AGIDEARGS% %1 shift goto loopstart :loopend %PYTHON% agide.py %AGIDEARGS% goto eof :ntaction rem for WinNT we can use %* %PYTHON% agide.py %* :eof set AGIDEARGS=