BUNCHUP — Bundle multiple arguments into a single command

Synopsis

BUNCHUP [/?] [/Q] [/R] [/ONETAIL[+|-]] [/AUTOSTARTPM[+|-]] [/AUTOSTARTVDM[+|-]] [/THRESHOLD number] [commands]

Options

/?
Display command syntax information.
/Q
Operate quietly.
/R
Use raw filenames, without escaping metacharacters.
/ONETAIL
Work around a bug in a few programs.
/AUTOSTARTVDM
Start DOS programs in separate sessions. (Default: off)
/AUTOSTARTPM
Start PM programs in separate sessions. (Default: off)
/THRESHOLD number
Specify the maximum command tail length.

Description

The BUNCHUP command reads arguments from its standard input, one per line, collects them together into a command tail, and invokes command with that command tail. If there are more arguments than can fit into a single command tail, it will invoke command multiple times.

BUNCHUP is aware of the wildcard metacharacters recognized by the the OS/2 Command Line Utilities version 2.0, and normally will attempt to quote those metacharacters, if they occur in the basename portion of a filename, so that they are not treated as wildcards. However, if command is not a utility from the OS/2 Command Line Utilities, it will not recognize and strip the quoting correctly. The /R option is thus available for turning off such quoting, and passing the "raw" filenames.

With or without the /R option, BUNCHUP will always quote filenames that contain whitespace characters, to prevent them from being erroneously separated into multiple command arguments.


The 32-bit Command Interpreter is © Copyright Jonathan de Boyne Pollard. "Moral" rights are asserted.