Kbase P92869: Passing a '|' (pipe) in %1 from OS-COMMAND
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  1/12/2005 |
|
Status: Unverified
FACT(s) (Environment):
Windows
SYMPTOM(s):
Calling OS-COMMAND with a '|' character (pipe) in %1 parameter
Windows Error: The name specified is not recognized as an internal or external command, operable program or batch file.
The '|' character (pipe) was just a user delimiter for a custom list in the Client Session Parameter -param (see SESSION:PARAMETER), which was passed as %1 in OS-COMMAND.
CAUSE:
The pipe is normally used in os commands to redirect the output of a first program to another program (achieve an os pipe) so the OS was actually expecting another os-command instead of just passing it as a parameter to the first program.
FIX:
Either use a non pipe character or try to wrap the parameters in more quotes so the OS will not expect another os-command to achieve a pipe.