Logon Scripts Question
MCCALL,DON (HP-USA,ex1)
don_mccall at hp.com
Thu Feb 22 15:03:00 GMT 2001
Hi Jeff;
If you surround your login script name and parameters in quotes, it should
work; ie:
logon script = "%U.bat %m"
and the logon script:
ddmc.bat (for example):
echo Hello Don, your machine name is %1
pause
should display "Hello Don, your machine name is <whatevermanchinename you
logged in from>
Hope this helps,
Don
-----Original Message-----
From: Jeff Lacy [mailto:jeffdl at mn.mediaone.net]
Sent: Wednesday, February 21, 2001 10:22 PM
To: samba at us5.samba.org
Subject: Logon Scripts Question
Hello Everyone,
I'm new to the list, so I don't know if this has been discussed before, so
please bear with me if it has. I have a question about the logon scripts.
It seems that if I set it to '%u.bat %m', then my logon scripts never
happen. If I remove the %m, it works. My question is: can I pass arguments
to a logon script, and if not, does anyone know of a work-around? Thanks a
bunch!!!!
Jeff Lacy
More information about the samba
mailing list