Skip to Content

Setting General Option Paths

Mar 31, 2017 at 07:57 PM


avatar image


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;


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!

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

George McGeachie 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.

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Hi George. Thank you for the response. Yes. I found where in the Registry they are stored in HKEY_CURRENT_USER, and appears to be, %USERPROFILE%. I was hoping to use something native to PowerDesigner, but if it isn't there we can do a batch file or PowerShell script if it comes to that. Still hopeful, though...


Let us know how you got on ...