%echo off REM This is pg95.bat to compile a Fortran95 program with PGPLOT g95 -ftrace=full -fbounds-check -fno-backslash -O -o %~n1 %1 %2 %3 %4 %5 %6 %7 %8 %9 -Wl,--subsystem,console -lcpgplot -lpgplot -lGrWin -mwindows -lg2c if errorlevel 1 GOTO end echo Created %~n1.exe :end