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

  • From: "Raffensberger, Stephen D" <sraffens@xxxxxxxxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Tue, 2 Dec 2008 08:16:50 -0500

Hector,

 

Make the new value an "Expandable String Value".

See KB256986

 

Steve Raffensberger

Sovereign Bank

1125 Berkshire Boulevard

Wyomissing, PA 19610

email: sraffens@xxxxxxxxxxxxxxxxx

 

________________________________

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

Other related posts: