Kbase P123797: How to use more than 9 parameters with command-line utilities on Windows?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/16/2008 |
|
Status: Unverified
GOAL:
How to use more than 9 parameters with command-line utilities on Windows?
GOAL:
How to use more than 9 command-line arguments with PROUTIL?
GOAL:
How to pass 10 or more parameters to command-line scripts?
FACT(s) (Environment):
Progress 9.x
OpenEdge 10.0x
OpenEdge 10.1A
Windows
FIX:
There is a limitation in the Windows batch script interpreter which prevents using more than 9 parameters with a .BAT script.
OpenEdge 10.1B01 and above contain a workaround for this limitation. If possible, upgrade to OpenEdge 10.1B01 or later to overcome this limitation.
If the upgrade is not possible, 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.