home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 198.lha / JDisk_v1.0 / test_jdisk < prev   
Encoding:
Text File  |  1988-12-28  |  1.3 KB  |  37 lines

  1. ; Copyright 1988 by I2(EYE) Systems.        TEST_JDISK - Version 1.0
  2. ;
  3. failat 6
  4. ; these parameters say:
  5. ; -r = the requester text is INSERT DISK jrbii IN DF1:
  6. ; -v = the disk (volume) name we want is jrbii
  7. ; -x = the drive we want it in is df0:
  8. ; -d = the default is positive and draw a fancy border around the pos gad
  9. ; -t = parameter not specified so never timeout
  10. jdisk "-rINSERT DISK jrbii IN DF0:" -vjrbii -x1 -dp
  11. if warn
  12. echo "Requested disk is NOT in specified drive"
  13. else
  14. echo "Requested disk IS in specified drive"
  15. endif
  16. ; these parameters say:
  17. ; -r =  the requester text is DF0: needs disk named: JRBII!
  18. ; -v = the disk name we want is jrbii
  19. ; -x = the drive we want it in is df0:
  20. ; -p = the positive gadget says I GIVE UP
  21. ; -n = the negative gadget says I'M READY
  22. ; -t = timeout after 10 seconds and take the default answer
  23. ; -q = bring up the requester quick, don't scroll it up
  24. jdisk "-rDF0: needs disk named: JRBII!" -vjrbii -x1 "-pI GIVE UP" "-nI'M READY" -t10 -q
  25. if warn
  26. echo "Requested disk is NOT in specified drive"
  27. else
  28. echo "Requested disk IS in specified drive"
  29. endif
  30. ; Only the required parameters are specified here
  31. jdisk "-rGimme JRBII in DF0:" -vjrbii -x1
  32. if warn
  33. echo "Requested disk is NOT in specified drive"
  34. else
  35. echo "Requested disk IS in specified drive"
  36. endif
  37.