home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / netdor2.zip / DISK_10 / IMAGE9.ZIP / DROP.CMD < prev    next >
OS/2 REXX Batch file  |  1993-07-13  |  866b  |  29 lines

  1. /************************************************************/
  2. /* DROP.CMD version 1.00                                    */
  3. /* Simple front-end that uses GIME.EXE for dropping drives. */
  4. /* (c)  Copyright IBM Corp. 1993.  All rights reserved.     */
  5. /************************************************************/
  6. trace 'O'
  7. parse arg args
  8. if args = '' | abbrev(args, '?')
  9.   then signal Tell
  10. else do
  11.   '@GIME 'args' /D'
  12.   exit_rc = rc
  13. end
  14. exit exit_rc
  15.  
  16. Tell:
  17. say
  18. say 'DROP'
  19. say
  20. say 'DROP is the converse of the GIME command.  It provides a compact syntax'
  21. say 'for dropping unneeded network resources.'
  22. say
  23. say 'Examples:'
  24. say '  DROP \\server\alias       -- drops the netname \\server\alias'
  25. say '  DROP P:                   -- detaches netname assigned to drive P:'
  26. say
  27. say '(c) Copyright IBM Corp. 1993.  All rights reserved.'
  28. exit 0
  29.