home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / e / embeta0.zip / TEXIT2.CMD < prev   
OS/2 REXX Batch file  |  1992-06-23  |  445b  |  15 lines

  1. /* texit2.cmd -- Copyright (c) 1992 by Eberhard Mattes            */
  2.  
  3. /* Remove path name and run texit.cmd */
  4.  
  5. /* This procedure is intended to be run from a menu.              */
  6. /* There must be only one command line argument -- the file name. */
  7.  
  8. parse arg '"'arg1'"' rest
  9. if arg1 = '' then
  10.   parse arg arg1 rest
  11. if rest = '' then
  12.   "call texit.cmd" filespec( 'name', arg1)
  13. else
  14.   say 'Only one command line argument supported by texit2.cmd
  15.