cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

set environment variables on ProE Startup?

davehaigh
11-Garnet

set environment variables on ProE Startup?

I know I can set the location of the PDMLink cache folder in the startup script.

I want to set some other environment variables during startup.

We have some diskless machines and I don't want to have these variables hard coded into the disk image. (I have to rely on IT to change that, only happens every three months.)

I can set the cache folder like this:
set PTC_WF_ROOT=%USERPROFILE%\pro\wf4_maintence_test\PDMLink_Cache\PTC\ProENGINEER

What I need to do is set the path to the ProE install bin directory.
If ProE is installed locally the following paths get added to the system global paths:
P:\wf4-m170\proeWildfire 4.0\bin
P:\wf4-m170\proeWildfire 4.0\mech\bin

Anyone know the syntax to do this?

David Haigh
Phone: 925-424-3931
Fax: 925-423-7496
Lawrence Livermore National Lab
7000 East Ave, L-362
Livermore, CA 94550


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
3 REPLIES 3

I think I found the answer. Still need to test it out.

set PATH=%PATH%;"P:\new\path\one";"P:\new\path\two"

David Haigh

Tested it out. It works.

David Haigh

Tested it out. It works.

David Haigh
Top Tags