Tuesday, December 2, 2008

[THIN] Using %username% in registry files


Hi all, is there a way to use the %username% variable in reg files? Something like:

[HKEY_CURRENT_USER\Software\Telelogic]
"DICTIONARY"="C:\Documents and Settings\\%username%\dictionary"

After running it, the "%username%" is entered in their registry.  What's the correct syntax?

Thanks,

_______________________________
Hector Minero
NSWCDD K55

No comments: