Skip to main content
1-Visitor
March 22, 2012
Question

config.pro mapkey variables

  • March 22, 2012
  • 1 reply
  • 902 views

Is there a way to use an O/Svariable such as %userprofile% within a mapkey?


For example, I am trying to replace:
mapkey(continued) `c:\\User\\<userlogin>\\Documents\\config.pro`;\
With:
mapkey(continued) `c:\\%userprofile%\\Documents\\config.pro`;\


The mapkey does not recognize the %userprofile% variable.


Thank you,


Lee


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.

1 reply

21-Topaz II
March 22, 2012
Yep, but you only need a single $ prefix:



This:



c:\\$userprofile\\Documents\\config.pro



Not this:



c:\\%userprofile%\\Documents\\config.pro



Doug Schaefer