Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

regedit environment variables

Status
Not open for further replies.

arey

IS-IT--Management
Dec 9, 2002
6
ES
Hi,

One question.
Anybody knows if its possible to use environment variables into .reg files values?
For exemple

%windir%, %username% or ....

Thanks
 
<Sticks Tongue Out>

Then offers and example of Bills Wide Knowledge.

[code
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x]
"EnforcedDirectories"="%WINDIR%;%ProgramFiles%\\Movie Maker"

[/code]

If only you could bottle it Bill you'd be a millionaire!!

Greg Palmer
Free Software for Adminstrators
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top