Shell Programs create visible Command Prompt Window when set to run hidden

  • 7009975
  • 10-Jan-2012
  • 30-Apr-2012

Environment

Novell ZENworks 10 Configuration Management
Novell ZENworks 11 Configuration Management

Situation

A "Launch Windows Executable" launch action that runs a Shell Program, such as "ZAC.exe ," will generate a visible  command prompt window, even if the process is set to run hidden. 

Resolution

Configure the "Launch Action" to run "CMD.EXE" with the hidden option instead of the shell program itself and use the parameters field to instruct "CMD.EXE" to run the shell program.
For Example: Use"/c zac.exe ref" as the"Command Line Parameters" to run the "zac.exe" program with the "ref" parameter.

Additional Information

The reason this is required is that Shell Programs themselves cannot honor the "Run Hidden" option, but "CMD.EXE" when invoked directly will honor hidden parameter.