Executable action generates a pop-up with an error 1

  • 7010581
  • 07-Aug-2012
  • 29-Aug-2012

Environment

Novell ZENworks Configuration Management 11.1 Bundles
Novell ZENworks Configuration Management 11.2 Bundles

Situation

The command line parameters in the launch executable action are enclosed in " ".
The user will receive a pop-up with the text: Error 1

Resolution

Testing has shown that this is a Microsoft problem.

When running the same command in a command-box will show the same error.
Also this can be seen when replacing the -l with a -k. This will leave the windows open after execution and the error can then be seen.

Additional Information

When executing the following in a command box it works:
"C:\TEST.CMD" -A -B -C "param1"
But it will not work when starting with:
cmd /C "C:\TEST.CMD" -A -B -C "param1"

or
command /C "C:\TEST.CMD" -A -B -C "param1"

When replacing the /C with a /K, the command box will not be closed and their will be an error displayed that the program "C:\TEST.CMD" cannot be found. When trying with "C:\Program Files\test.cmd", there will be an error that program c:\program cannot be found. It seems that MS has a problem.