From: Rick E on
I'm getting a decimal return code of 161 attempting to getstringvalue from a
registry key that works on somes PC's (ret=0) and not others.

I've seen the return codes for stdregprov such as 0x80041071 in hex format
which I can't easily translate into decimal. Does anyone has a decimal
return value table? I can convert hex & decimal but we see these are
different scales? Are the return code dword values?

This is running in WSH/VBS 5.7 on WinXP Pro SP3.
From: Tom Lavedas on
On Oct 1, 9:24 am, Rick E <Ri...(a)discussions.microsoft.com> wrote:
> I'm getting a decimal return code of 161 attempting to getstringvalue from a
> registry key that works on somes PC's (ret=0) and not others.
>
> I've seen the return codes for stdregprov such as 0x80041071 in hex format
> which I can't easily translate into decimal.  Does anyone has a decimal
> return value table?   I can convert hex & decimal but we see these are
> different scales?  Are the return code dword values?
>
> This is running in WSH/VBS 5.7 on WinXP Pro SP3.

From this URL (http://msdn.microsoft.com/en-us/library/ms681382%28v=vs.
85%29.aspx) i see this description:

ERROR_BAD_PATHNAME The specified path is invalid.
161 (0xA1)
_____________________
Tom Lavedas