home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD1.iso / CDRom / asimcd30.dms / in.adf / ARexx_Samples / DiscChanger / max_partitions.rexx < prev    next >
Encoding:
OS/2 REXX Batch file  |  1995-06-17  |  351 b   |  19 lines

  1. /*  This example will demonstrate the use of the max_partitions command
  2.     in DiscChanger.
  3.  
  4.     (C)1993-1995 Asimware Innovations Inc.                             */
  5.  
  6.  
  7. options results
  8. address "DiscChanger_ARexx"
  9.  
  10. max_partitions
  11. if rc ~= 0 then do
  12.     say 'Failed with 'rc'.'
  13.     exit
  14. end
  15.  
  16. say 'There are currently 'result' valid partitions mounted.'
  17.  
  18. exit
  19.