Skip to Content
avatar image
Former Member

Setting General Option Paths

Hello

I have several configurations for PowerDesigner users I want to be able to have automatically configured via User Profiles, such as "UserModelTemplates" and "ConvTablePath". On a user's system these paths are under their Windows profile area;

"C:\Users\<userid>\PowerDesigner\Shared\<repoid>\".

I cannot figure out how to automatically generate the path to set these values within a User Profile. I am open to consider other means, preferably within the PowerDesigner Framework, but I want to be able to do this without each user having to individually setup the relevant paths on their systems, nor require a Windows Administrator, since we may want to add or change some.

Thank you!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Apr 01, 2017 at 07:40 PM

    Anything you put in a Named Path is treated as a string. I think what you need is a script that sets registry key, replacing the appropriate enviroment variable (is it %USERPATH%?) with the actual value. I've never considered doing this myself, so I don't know what limitations Windowes imposes on you, and editing the registry is a risky business.

    Add comment
    10|10000 characters needed characters exceeded