Kbase P123586: How to use more than 9 arguments with command line utilities?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/9/2007 |
|
Status: Unverified
GOAL:
How to use more than 9 arguments with command line utilities?
GOAL:
Is it possible to use more than 9 arguments with PROUTIL?
GOAL:
How many arguments are allowed by default for command line utilities?
FACT(s) (Environment):
Windows
FIX:
There is a limitation in the Windows batch script interpreter which prevents using more than 9 parameters with a .BAT script. For this reason, command-line utilities implemented using a batch script have a current limitation of 9 parameters on the command line.
Two workarounds are available:
for commands which allow the startup parameter -pf (such as proutil, proserve, or the client), set the parameters in a .pf file and use -pf on the command line.for other commands, use the equivalent executable. The executable can be found by opening the .BAT file with a text editor and reading its name at the end of the .BAT script. For example, proutil.bat invokes _proutil.exe and proserve.bat invokes _mprosrv.exe.