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@mn.mediaone.net]
Sent: Wednesday, February 21, 2001 10:22 PM
To: samba@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