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

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Is there a way to use "%userprofile%" in ENV=PTC_WF_ROOT

KrisFloy
4-Participant

Is there a way to use "%userprofile%" in ENV=PTC_WF_ROOT

I am using Creo Parametric 7.0 7.0.3.0

Is it possible to have the environmental variables for the Windchill cache to be written to set to the users documents using %userprofile%?
For example:
ENV=PTC_WF_ROOT="%userprofile%"\creo7\cache
ENV=PTC_WLD_ROOT="%userprofile%"\creo7\cache_wld
ENV=CREO_AGENT_HOME="%userprofile%"\creo7\agent

Would like it to be based on the user without having to explicitly enter the user name in the psf file. It would be setup in an install package that would be made available to our user community.
1 ACCEPTED SOLUTION

Accepted Solutions
TomU
23-Emerald IV
(To:KrisFloy)

Seems like it should work.  I do something similar from a startup script with the cache location, but it should work the same way in the PSF file.

 

set PTC_WF_ROOT=C:\ptc\%USERNAME%\WC12_CP4_WGM

View solution in original post

2 REPLIES 2
TomU
23-Emerald IV
(To:KrisFloy)

Seems like it should work.  I do something similar from a startup script with the cache location, but it should work the same way in the PSF file.

 

set PTC_WF_ROOT=C:\ptc\%USERNAME%\WC12_CP4_WGM

KrisFloy
4-Participant
(To:TomU)

Excellent!  Thanks for the help.  It works perfectly.

Top Tags