OnExit: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
{{Software | {{Software | ||
|Picture= | |Picture=Onexit.png | ||
|Version=(Jan 1992) | |Version=(Jan 1992) | ||
|Author=[[Rick Fishman]] | |Author=[[Rick Fishman]] | ||
|License=Public Domain | |License=Public Domain | ||
|Download=[ | |Download=[//hobbes.nmsu.edu/download/pub/os2/util/system/onexit.zip onexit.zip] | ||
}} | }} | ||
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 17: | Line 17: | ||
START ONEXIT SHUTDOWN.CMD ARG1 ARG2 | START ONEXIT SHUTDOWN.CMD ARG1 ARG2 | ||
[[Category:Utilities | [[Category:PM Utilities]] | ||
Revision as of 20:09, 22 March 2020
| OnExit | |
|---|---|
| Version | (Jan 1992) |
| Vendor | |
| Author | Rick Fishman |
| License | Public Domain |
| Download | onexit.zip |
| 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