Tuesday, December 2, 2008

[THIN] Re: Using %username% in registry files

Hector,

 

Make the new value an “Expandable String Value”.

See KB256986

 

Steve Raffensberger

Sovereign Bank

1125 Berkshire Boulevard

Wyomissing, PA 19610

email: sraffens@sovereignbank.com

 


From: thin-bounce@freelists.org [mailto:thin-bounce@freelists.org] On Behalf Of Minero, Hector B CIV NSWCDD, K55
Sent: Tuesday, December 02, 2008 8:09 AM
To: thin@freelists.org
Subject: [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


This message contains information which may be confidential and privileged. Unless you are the addressee (or authorized to receive for the addressee), you may not use, copy or disclose to anyone the message or any information contained in the message. If you have received the message in error, please advise the sender by reply e-mail, and delete or destroy the message. Thank you.

No comments: