Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

33 lines
912 B

@echo off
echo Unloading Netware shell and IPX protocol.
rem *************************************************************************
rem ** To invoke the DOS version independent NetWare shell, uncomment
rem ** the following two lines.
rem netx /u
rem goto IPXREL
rem ** End of DOS version independent NetWare shell lines
rem *************************************************************************
rem ** DOSVER return value is 1 on error (and DOS versions below 3.x),
rem ** DOS version otherwise.
rem *************************************************************************
dosver
if errorlevel 5 goto DOS5x
if errorlevel 4 goto DOS4x
if errorlevel 3 goto DOS3x
goto ERROR_UNLOADING
:DOS3x
net3 /u
goto IPXREL
:DOS4x
net4 /u
goto IPXREL
:DOS5x
net5 /u
:IPXREL
unload ipx
if errorlevel 1 goto ERROR_UNLOADING
goto END
:ERROR_UNLOADING
echo Netware unload aborted.
:END