OnExit

From OS2World.Com Wiki
Revision as of 15:54, 12 June 2014 by Martini (talk | contribs) (Created page with " ==Description== 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: ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

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

Download

License

  • Freeware

Author