Re: Covert %username% to hex in logon script
From: name (nospam_at_user.com)
Date: 11/24/04
- Next message: name: "Re: FSO / DateLastModified Problem"
- Previous message: name: "Re: WSH in VS.NET 2003?"
- In reply to: Art Vandelay: "Covert %username% to hex in logon script"
- Next in thread: Don Grover: "Re: Covert %username% to hex in logon script"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 24 Nov 2004 03:30:07 -0500
I do not see a conversion script?
Anyone?
=============
Have you tried studying your wsh manual ?
"Art Vandelay" <idozaf@gmail.com> wrote in message
news:30iq7cF30o3foU1@uni-berlin.de...
> Hi there,
> At a school we need to alter the registered User Information for the
> Office suite during logon. We want the %username% value to be imported
into
> the following key:
> HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\common\UserInfo altering
> the REG_BINARY UserName
>
> Unfortunately the conversion isn't straight hex either, but as with all
> REG_BINARYs there is a 00 between every character. So for example the word
> "Example" is not imported as
> 45 78 61 6D 70 6C 65
>
> but as:
>
> 45 00 78 00 61 00 6D 00 70 00 6C 00 65 00 00 00
>
> Any idea how we can go about doing this?
> Thanks.
> Art
>
>
- Next message: name: "Re: FSO / DateLastModified Problem"
- Previous message: name: "Re: WSH in VS.NET 2003?"
- In reply to: Art Vandelay: "Covert %username% to hex in logon script"
- Next in thread: Don Grover: "Re: Covert %username% to hex in logon script"
- Messages sorted by: [ date ] [ thread ]