variable name in regitry

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Good day Sirs,

I'd like to update an regitry key, using a variable name, by a reg file :

Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell
Folders]
"Favorites"="%APPDATA%\Favoris"

How to make it accept the %APPDATA% variable name ?
Thanks for your help.
 
zzz said:
I'd like to update an regitry key, using a variable name, by a reg file : .. . .
How to make it accept the %APPDATA% variable name ?

You need to use a different type of Registry value, which shows in
RegEdit as REG_EXPAND_SZ.

Find any other key of this type, export it and see what the resulting
..reg file looks like.

HTH,
Phill W.
 
Back
Top