home *** CD-ROM | disk | FTP | other *** search
/ Online Praxis 1997 March / OP2_97.BIN / cd-rom / treiber / itk / wnt / basicnt.exe / CAPI.BAT < prev    next >
DOS Batch File  |  1996-08-27  |  869b  |  49 lines

  1. @echo off
  2. if "%1" == ""     goto load
  3. if "%1" == "-d"   goto deinstall
  4. if "%1" == "-D"   goto deinstall
  5. if "%1" == "/d"   goto deinstall
  6. if "%1" == "/D"   goto deinstall
  7. if "%1" == "-?"   goto help
  8. if "%1" == "/?"   goto help
  9. if "%1" == "-h"   goto help
  10. if "%1" == "/h"   goto help
  11.  
  12. :load_file
  13. ixcapi -d
  14. ixinstal
  15. ixload %1
  16. if errorlevel 1 goto exit
  17. ixcapi
  18. goto ende
  19.  
  20. :help
  21. echo CAPI Version 3.00
  22. echo (c) Copyright ITK AG Dortmund, 1996
  23. echo   Usage:
  24. echo      CAPI [-d]
  25. echo   or
  26. echo      CAPI [protocolfile]
  27. echo            -d             removes CAPI-Driver from PC-memory                 
  28. echo            protocolfile   name of protocolsoftware - default: ix.bin
  29.  
  30. goto exit
  31.  
  32. :load
  33. ixcapi -d
  34. ixinstal
  35. ixload
  36. if errorlevel 1 goto exit
  37. ixcapi
  38. goto ende
  39.  
  40. :deinstall
  41. ixcapi -d
  42. ixload
  43. goto exit
  44.  
  45. :ende
  46. rem rdeeprom
  47.  
  48. :exit
  49.