A system and method for automatically executing a participating
application upon insertion of a removable media into a computing device.
When the computing device detects that the removable media containing has
been inserted, a task disk control file is read from the removable media.
The task disk control file contains all of the configuration information
necessary to run the participating application from the removable media
The participating application is then launched for use by a user. After
the user is finished using the participating application, the removable
disk is automatically ejected. In addition to monitoring for insertion of
the removable media, events such as a completion of the self-contained
application and a request to eject the media are monitored. When a
completion event is encountered, all data files are saved, temporary
files deleted and configuration information removed prior to the
removable disk ejection. When an ejection event is encountered, the
computing device is instructed to wait until the completion events are
executed prior to actual ejection of the removable media.