Okay, I think I have found the problem. I modified smsls.bat by changing "@echo off" to "@echo on". I also put a "pause" at the beginning. After these modifications the smsls.bat is running upon logon. The errors occur during the following lines of the smsls.bat:
code:
:SLOWNETTEMP
if not exist %TEMP%\SLOWNET.EXE goto SLOWNETSERVER
%TEMP%\SLOWNET.EXE %0
if errorlevel 1 goto END
The above code generates the following error text during logon:
"if not exist C:\Documents and Settings\brentc\Local Settings\Temp\SLOWNET.EXE goto SLOWNETSERVER
'and' is not recognized as an internal or external command, operable program or batch file.
C:\Documents and Settings\brentc\Local Settings\Temp\SLOWNET.EXE \\SERV001\NETLOGON\SMSLS.BAT
'C:\Documents' is not recognized as an internal or external command, operable program or batch file."
So, because there are not quotes around the "C:\Documents and Settings
etc..." part, then it is generating the error.
This error is only happening on a Windows 2000 client. I wouldn't think that I'm the first to have this error unless the %temp% variable is set incorrectly somehow.
What should I do?
Thanks,
Jason