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

  • From: StGeorge <wcsconnect@xxxxxxxxx>
  • To: thin@xxxxxxxxxxxxx
  • Date: Tue, 2 Dec 2008 22:17:09 +0900

Hector,

Try %%username%%

Regards

Rob

On Tue, Dec 2, 2008 at 10:08 PM, Minero, Hector B CIV NSWCDD, K55 <
hector.minero@xxxxxxxx> wrote:

>
> 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
>

Other related posts: