OnExit: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{Software | |||
|Picture=NA.PNG | |||
|Version= | |||
|Vendor= | |||
|Author=[[Rick Fishman]] | |||
|License=Public Domain Binaries. | |||
|Download=[http://hobbes.nmsu.edu/h-search.php?key=onexit.zip Original Version] | |||
|Website= | |||
}} | |||
OnExit.exe lets you specify a program to run (.cmd or .exe file) when Shutdown is selected from Desktop Manager (OS/2 1.x) or the WPS (OS/2 2.0). | OnExit.exe lets you specify a program to run (.cmd or .exe file) when Shutdown is selected from Desktop Manager (OS/2 1.x) or the WPS (OS/2 2.0). | ||
| Line 10: | Line 19: | ||
START ONEXIT SHUTDOWN.CMD ARG1 ARG2 | START ONEXIT SHUTDOWN.CMD ARG1 ARG2 | ||
[[Category:Utilities]] | |||
[[Category:Freeware]] | |||
[[Category: | |||
Revision as of 02:39, 28 October 2019
| OnExit | |
|---|---|
| File:NA.PNG | |
| Version | |
| Vendor | |
| Author | Rick Fishman |
| License | Public Domain Binaries. |
| Download | Original Version |
| Website | |
OnExit.exe lets you specify a program to run (.cmd or .exe file) when Shutdown is selected from Desktop Manager (OS/2 1.x) or the WPS (OS/2 2.0).
Usage:
start onexit PgmName arguments
where PgmName is an .exe or .cmd file name.
Run it from your startup.cmd (use the 'start' command so your startup.cmd can complete). Multiple copies can be run.
Example entry in startup.cmd:
START ONEXIT SHUTDOWN.CMD ARG1 ARG2