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

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! 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.
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.

Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags