home *** CD-ROM | disk | FTP | other *** search
/ IBM Thinkpad Drivers FTP / QEXPUNIT.ZIP / SAMPLE.BAT < prev   
DOS Batch File  |  1996-10-17  |  1KB  |  70 lines

  1. @ECHO OFF
  2.  
  3. QExpUnit > nul
  4.  
  5. IF ERRORLEVEL 255 GOTO ERROR
  6.  
  7. IF ERRORLEVEL 7 GOTO EXP7
  8. IF ERRORLEVEL 6 GOTO EXP6
  9. IF ERRORLEVEL 4 GOTO EXP4
  10. IF ERRORLEVEL 2 GOTO EXP2
  11. IF ERRORLEVEL 1 GOTO EXP1
  12. IF ERRORLEVEL 0 GOTO EXP0
  13.  
  14.  
  15. :EXP0
  16. REM
  17. REM Start the programs here which are to be run when undock, or
  18. REM the port replicator without PCMCIA slots is connected to the computer
  19. REM
  20. GOTO END
  21.  
  22.  
  23. :EXP1
  24. REM
  25. REM Start the programs here which are to be run when the port replicator
  26. REM with PCMCIA slots is connected to the computer
  27. REM
  28. GOTO END
  29.  
  30.  
  31. :EXP2
  32. REM
  33. REM Start the programs here which are to be run when the Dock I
  34. REM is connected to the computer
  35. REM
  36. GOTO END
  37.  
  38.  
  39. :EXP4
  40. REM
  41. REM Start the programs here which are to be run when the Dock II
  42. REM is connected to the computer
  43. REM
  44. GOTO END
  45.  
  46.  
  47. :EXP6
  48. REM
  49. REM Start the programs here which are to be run when the SelectaDock II
  50. REM is connected to the computer
  51. REM
  52. GOTO END
  53.  
  54.  
  55. :EXP7
  56. REM
  57. REM Start the programs here which are to be run when the SelectaDock I
  58. REM is connected to the computer
  59. REM
  60. GOTO END
  61.  
  62.  
  63. :ERROR
  64. ECHO This version of QExpUnit will not run on this computer
  65.  
  66.  
  67. :END
  68.  
  69.  
  70.