home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.os.os2.misc:42098 comp.os.os2.apps:10083
- Path: sparky!uunet!vnet.ibm.com
- From: pmuellr@vnet.ibm.com (Pat Mueller)
- Message-ID: <19930112.092927.165@almaden.ibm.com>
- Date: Tue, 12 Jan 93 12:06:35 EST
- Newsgroups: comp.os.os2.misc,comp.os.os2.apps
- Subject: Re: Passing batch arguments to pgm (was: Neat timesaving trick.)
- Lines: 27
-
- >}So, I have e.cmd which looks like
- >
- >}@start \os2\e %1 %2 %3 %4 %5 %6 %7 %8 %9
- >
- >}(is there an easier way than making all the %'s?)
- >
- >If you were to use 4OS2 instead of CMD, you could then rewrite this as:
- >
- >@start \os2\e %&
-
- Write it in rexx as
-
- --------------------------------------
- /* */
- "@start \os2\e" arg(1)
- --------------------------------------
-
- or if it HAS to be 1 line
-
- /* */ "@start \os2\e" arg(1)
-
- (The /* */ sequence in a .cmd file (starting in line 1, col 1) is
- an indication to CMD.EXE that the file is a rexx macro, not the
- old style .bat language).
-
- Patrick Mueller addr: pmuellr@vnet.ibm.com
- IBM Cary, North Carolina phone: 919-469-7242
-