mapping a SAMBA share with a login script
If I type this in a command prompt:
net use I: \\linux1\samba /USER:MYDOMAIN\Administrator password
the command completes successfully and I connect to my share. However, when I try to run it as a login script I get an incorrect password message. I retype the same password as it is in my script and it maps the drive. Why do I have to retype the password when running the exact same command as a login script, when it works perfectly any other time?