G
Guest
Guest
Archived from groups: microsoft.public.windowsxp.security_admin (More info?)
Hi,
[Sorry if this is off-topic, I had a hard time finding the correct
newsgroup, but I figured that most people here would be familiar using
runas.]
When starting up a new command prompt, using the runas command, the HOMEPATH
and HOMEDRIVE environment variables aren't available for the newly logged on
user. Example:
runas /user:<myuser> cmd
-- logging in --
>echo %HOMEPATH%
%HOMEPATH%
>echo %HOMEDRIVE%
%HOMEDRIVE%
Is this a known problem? I tried searching the KB, but found nothing.
// Johan
Hi,
[Sorry if this is off-topic, I had a hard time finding the correct
newsgroup, but I figured that most people here would be familiar using
runas.]
When starting up a new command prompt, using the runas command, the HOMEPATH
and HOMEDRIVE environment variables aren't available for the newly logged on
user. Example:
runas /user:<myuser> cmd
-- logging in --
>echo %HOMEPATH%
%HOMEPATH%
>echo %HOMEDRIVE%
%HOMEDRIVE%
Is this a known problem? I tried searching the KB, but found nothing.
// Johan