Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

Register Log in

System variables in config.pro?


New member
Is it possible to use system variables in the configs and how to write it?

For example I want to add search path for fonts:
pro_font_dir %windir%\fonts
where windir equals c:\windows in XP and c:\winnt in W2k.

In this case it was possible to add two lines since both directories dont exist at the same time.



New member
Yes it is possible. But I don't remember the exact way to do it-. I will look it up in my notes.


New member
Her it is:

pro_font_dir $PRO_STANDARD\font_dir

Who would have guess this :)

You can set the environment in your ProE start script