You are here

Registry Environment Variable

4 posts / 0 new
Last post
terra666
Offline
Last seen: 3 years 3 months ago
Joined: 2014-06-22 13:42
Registry Environment Variable

Hi,

I would like to find out if it is possible to use Environmental Variables when setting up Registry Keys. Example:

[Environment]
RegLoc="HKCU\Software\Some Program"

[RegistryValueWrite]
"%RegLoc%\"=REG_SZ:""
Gord Caswell
Gord Caswell's picture
Offline
Last seen: 4 months 1 week ago
DeveloperModerator
Joined: 2008-07-24 18:46
Unsupported

Environment Variables are unsupported in this manner.

terra666
Offline
Last seen: 3 years 3 months ago
Joined: 2014-06-22 13:42
How can I request for this to

How can I request for this to be added to a support request. As this will work very well with programs that have common base so that I can change the program run by just changing the name of one or two variables which will update the whole list. Thus eliminating a possible error location.

YoursTruly
YoursTruly's picture
Offline
Last seen: 2 years 2 months ago
Joined: 2015-08-07 07:58
Well PA doesnt support it in

Well PA doesnt support it in a standard way but you can do it with some cmd file.
To get an idea (how to work with environment variables) have a look in my launchers:

e.g. portable launcher for IntelliJ-IDEA:
https://github.com/YoursTruly55/PortableApps/tree/master/Tools/IntelliJI...

Log in or register to post comments