home page url:
In ZCM when specifying a "Launch Executable" action you can specify success return codes. These are codes that an executable (i.e. notepad.exe) will return when the executable is finished.
This is all great except that it can be difficult knowing what return code was returned. This executable will report the return code so that you can easily add the value to the "Success Return Code" values.
This is a very simple executable that will run on any OS. Using it is as simple as launchReturnCode.exe notepad.exe.
Using this executable is VERY simple.
1 - Extract the ZIP to any location
2 - In a DOS prompt type LaunchReturnCode.exe <command>
3 - Plug in the code into the Launch Success Code
You can read more about Launch Success Codes in the Novell Documentation.
Action - Launch Executable - http://www.novell.com/documentation/zenworks11/zen11_cm_software_distribution/data/action_launch.html
Feel free to reach me at http://jaredjennings.org or http://www.twitter.com/jaredljennings if you have questions or suggestions.
Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).
It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.