Page 1 of 1 1
Topic Options
#53357 - 2001-01-23 06:17 PM batch file hanging with MS AS
brewdude6 Offline
Hey THIS is FUN

Registered: 2000-10-21
Posts: 280
Loc: Nashville, TN
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

Top
#53358 - 2001-01-23 06:27 PM Re: batch file hanging with MS AS
brewdude6 Offline
Hey THIS is FUN

Registered: 2000-10-21
Posts: 280
Loc: Nashville, TN
I failed to mention that I have tested this batch file with 95,98, and Win2k Professional. They all run it without a problem.
_________________________
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

Top
#53359 - 2001-01-24 12:23 AM Re: batch file hanging with MS AS
brewdude6 Offline
Hey THIS is FUN

Registered: 2000-10-21
Posts: 280
Loc: Nashville, TN
disregard please...after further testing I found that there was an app that was trying to start at the same time that interferred with the script.
_________________________
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

Top
Page 1 of 1 1


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 764 anonymous users online.
Newest Members
ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder, M_Moore
17887 Registered Users

Generated in 0.054 seconds in which 0.024 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org