on WINS98, I get this error when trying the basic "aap --help" test after installing. Note, I did add c:\proogram files\aap\exec to my path. Any suggestions would be appreciated.
C:\PYTHON22\PYTHON.EXE: can't open file 'Main.py'
C:\>dir "C:\PROGRAM FILES\AAP\EXEC\main.py
Volume in drive C has no label
Volume Serial Number is 123C-19FE
Directory of C:\Program Files\aap\Exec
MAIN PY 9,715 04-28-03 2:12p Main.py
1 file(s) 9,715 bytes
0 dir(s) 7,294.41 MB free
PATH=C:\PERL\BIN\;C:\PYTHON22;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\PROGRA~1\WIN98RK;C:\PROGRAM FILES\MTS;C:\PROGRA~1\VIM\VIM61;C:\PROGRAM FILES\AAP\EXEC
Resolved by adding an AAPPATH variable to aap.bat.
Variable is hard coded to the location of aap on my machine so not very flexible.
See new aap.bat below:
rem Simplistic script to execute aap.
set AAPPATH="C:\Program Files\aap\Exec"
if .%OS%==.Windows_NT goto ntaction
rem collect the arguments in AAPARGS for Win95
if .%1==. goto loopend
set AAPARGS=%AAPARGS% %1
%PYTHON% %AAPPATH%\Main.py %AAPARGS%
rem for WinNT we can use %*
%PYTHON% Main.py %*
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.