home *** CD-ROM | disk | FTP | other *** search
- ; Copyright 1988 by I2(EYE) Systems. TEST_JDISK - Version 1.0
- ;
- failat 6
- ; these parameters say:
- ; -r = the requester text is INSERT DISK jrbii IN DF1:
- ; -v = the disk (volume) name we want is jrbii
- ; -x = the drive we want it in is df0:
- ; -d = the default is positive and draw a fancy border around the pos gad
- ; -t = parameter not specified so never timeout
- jdisk "-rINSERT DISK jrbii IN DF0:" -vjrbii -x1 -dp
- if warn
- echo "Requested disk is NOT in specified drive"
- else
- echo "Requested disk IS in specified drive"
- endif
- ; these parameters say:
- ; -r = the requester text is DF0: needs disk named: JRBII!
- ; -v = the disk name we want is jrbii
- ; -x = the drive we want it in is df0:
- ; -p = the positive gadget says I GIVE UP
- ; -n = the negative gadget says I'M READY
- ; -t = timeout after 10 seconds and take the default answer
- ; -q = bring up the requester quick, don't scroll it up
- jdisk "-rDF0: needs disk named: JRBII!" -vjrbii -x1 "-pI GIVE UP" "-nI'M READY" -t10 -q
- if warn
- echo "Requested disk is NOT in specified drive"
- else
- echo "Requested disk IS in specified drive"
- endif
- ; Only the required parameters are specified here
- jdisk "-rGimme JRBII in DF0:" -vjrbii -x1
- if warn
- echo "Requested disk is NOT in specified drive"
- else
- echo "Requested disk IS in specified drive"
- endif
-