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

  1. @echo off
  2. echo Unloading Netware shell and IPX protocol.
  3. rem *************************************************************************
  4. rem ** To invoke the DOS version independent NetWare shell, uncomment
  5. rem ** the following two lines.
  6. rem netx /u
  7. rem goto IPXREL
  8. rem ** End of DOS version independent NetWare shell lines
  9. rem *************************************************************************
  10. rem ** DOSVER return value is 1 on error (and DOS versions below 3.x),
  11. rem ** DOS version otherwise.
  12. rem *************************************************************************
  13. dosver
  14. if errorlevel 5 goto DOS5x
  15. if errorlevel 4 goto DOS4x
  16. if errorlevel 3 goto DOS3x
  17. goto ERROR_UNLOADING
  18. :DOS3x
  19. net3 /u
  20. goto IPXREL
  21. :DOS4x
  22. net4 /u
  23. goto IPXREL
  24. :DOS5x
  25. net5 /u
  26. :IPXREL
  27. unload ipx
  28. if errorlevel 1 goto ERROR_UNLOADING
  29. goto END
  30. :ERROR_UNLOADING
  31. echo Netware unload aborted.
  32. :END
  33.