I'm using a batch file in the users profile that is the same as others I've seen posted here. When I log in on an Advanced Server machine it hangs. Any ideas?CLS
ECHO Verifying / Updating Script Software Installation, Please Wait...
IF "%OS%" == "Windows_NT" GOTO WinNT
REM *!* If we can't detect WinNT from the above, assume the system is Win95 / Win98 compatible.
XCOPY %0\..\KIX32.EXE %WINDIR%\SYSTEM32\ /D /H /I /R /V > NUL
XCOPY %0\..\KX16.DLL %WINDIR%\SYSTEM32\ /D /H /I /R /V > NUL
XCOPY %0\..\KX32.DLL %WINDIR%\SYSTEM32\ /D /H /I /R /V > NUL
XCOPY %0\..\KX95.DLL %WINDIR%\SYSTEM32\ /D /H /I /R /V > NUL
rem XCOPY %0\..\SHUTDOWN2.EXE %WINDIR%\SYSTEM32\ /D /H /I /R /V > NUL
rem XCOPY %0\..\POSTIE.EXE %WINDIR%\SYSTEM32\ /D /H /I /R /V > NUL
IF EXIST %WINDIR%\SYSTEM32\KXRPC.EXE DEL /F %WINDIR%\SYSTEM32\KXRPC.EXE
GOTO RunScript
:WinNT
XCOPY %0\..\KIX32.EXE %WINDIR%\SYSTEM32\ /D /H /I /R /V > NUL
rem XCOPY %0\..\TreeComp.EXE %WINDIR%\SYSTEM32\ /D /H /I /R /V > NUL
XCOPY %0\..\SHUTDOWN2.EXE %WINDIR%\SYSTEM32\ /D /H /I /R /V > NUL
IF EXIST %WINDIR%\SYSTEM32\KX16.DLL DEL /F %WINDIR%\SYSTEM32\KX16.DLL
IF EXIST %WINDIR%\SYSTEM32\KX32.DLL DEL /F %WINDIR%\SYSTEM32\KX32.DLL
IF EXIST %WINDIR%\SYSTEM32\KX95.DLL DEL /F %WINDIR%\SYSTEM32\KX95.DLL
IF EXIST %WINDIR%\SYSTEM32\KXRPC.EXE DEL /F %WINDIR%\SYSTEM32\KXRPC.EXE
GOTO RunScript
:RunScript
ECHO Loading Logon Script, Please Wait...
%WINDIR%\SYSTEM32\KIX32.EXE %0\..\logon.KIX
:End
exit
_________________________
I could have made a neat retort but didn't, for I was flurried and didn't think of it till I was downstairs.
-Mark Twain