home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 25 / amigaformatcd25.iso / websites / asimware / techsupport / files / asimcdfs_arexxsamples.lha / ARexx_Samples / DiscChanger / mount_partition.rexx < prev    next >
OS/2 REXX Batch file  |  1995-08-23  |  410b  |  23 lines

  1. /*  This example will demonstrate the use of the mount_partition 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.  
  17. we_want = result
  18. say 'We are mounting partition 'we_want' out of 'result' valid partitions.'
  19.  
  20. mount_partition we_want
  21.  
  22. exit
  23.