RODIR Environment Variable - DarklightGames/DarkestHour GitHub Wiki
To make life simpler and to save time, it is recommended that each developer store their Red Orchestra directory as an environment variable, RODIR
, on their Windows machine.
Locate your Red Orchestra folder, then perform the following steps:
- Press Windows-Key+R.
- In the Run window, type or paste
sysdm.cpl
and click OK. - Click the Advanced tab, then Environment Variables....
- Under the User variables for group, press New....
- For Variable name, input
RODIR
. - For Variable value, input the full path to your Red Orchestra folder (eg.
C:\Program Files (x86)\Steam\steamapps\common\Red Orchestra
). - Click OK.
You now have an environment variable called RODIR
. This allows you to substitute the literal path (eg. C:\Program Files (x86)\Steam\steamapps\common\Red Orchestra
) with %RODIR%
on the command-line and other places.