Compiling in Windows XP
From OHRRPGCE-Wiki
This article only applies to the DOS/QuickBasic version. It is not relevant for the current Windows and Linux versions
If you are using Windows XP, NT or 2000 to compile the old DOS version, you need to pre-set some environment variables before you compile.
- Right-click on "My Computer" and pick "Properties"
- Go to the "Advanced" tab.
- Click the button labeled "Environment Variables"
- You need to create 5 variables, which are the same ones found in the env_set.bat batch file.
QBVER = 4.5 QBDIR = C:\QB45 OHRRPGCE = C:\OHRRPGCE QBEDIT = QB.EXE LINKEXT = l
Alternatively, you can add the line
call env-set.bat
to the top of your compile.bat file, assuming you have edited env-set.bat as necessary.
Then you can open a DOS prompt (START->Run and type "CMD"), and change to the OHRRPGCE directory with the command:
cd c:\ohrrpgce
And you can compile with the command:
compile