Are we talking about user environment variables or system environment
variables?

-----Original Message-----
From: Dean Theophilou [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 08, 2002 6:08 PM
To: Perl_beginner (E-mail); Perl-Win32-Admin@ActiveState. com
Subject: Perplexed


Hello:

        I created a Perl logon script for use on an NT TSE machine which
sets
environment variables and maps drives.  It runs as expected when it's run
from
the path specified in User Manager for Domains->Profile->Logon Script Name.
Since I don't want the user to be able to see it when he logs on, I use
runh.exe
with the script.

        Unfortunately, when I use runh.exe, the user's program, which
launches at
startup, can't find the drive that the logon script is supposed to map.
I've
also noticed this kind of behavior when calling the logon script from
Usrlogon.cmd.

        I'm using both $ENV as well as Win32::AdminMisc to set the
environment
variables. It seems to me that the environment variables and drive mappings
don't take effect fast enough (if at all) before the startup program
launches.

        Does anyone have a clue as to why this is and if there is a work
around?
Thanks.

Dean

_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin


--------------------------------------------------------------------------------
This email may contain confidential and privileged 
material for the sole use of the intended recipient. 
If you are not the intended recipient, please contact 
the sender and delete all copies.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to