home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 11 Util
/
11-Util.zip
/
diskmon.zip
/
DISKMON.ANN
next >
Wrap
Text File
|
1996-05-22
|
3KB
|
76 lines
DISKMON
OS/2 Removable Media Device Shutdown Monitor
Version 2.0
IBM Internal Use Only
David Ruest
RUEST at GDLVM7
DISKMON waits until OS/2 Shutdown and then looks at all the Local
Removable Media Devices and notifies the user if there is media left
in the device. Optionally this program can be run immediately without
waiting for shutdown.
The syntax is:
]----------------------]
v ]
START DISKMON.EXE -----]------------------]-----
]- ? -]
]- /f -]
]- /i device list -]
]- /r -]
]- /m1 text -]
]- /m2 text -]
Optional Parameters:
? = Display Help. (Don't run)
/r = Run Immediately (Don't Wait Till Shutdown)
/f = Give Full Output (List All Devices, Ignored devices,
Local Devices, Local Devices with
Media, and Local Removable Devices
with Media left in them)
/i = Ignore certain devices. The device list is a space
separated list of device names (A -> Z).
/m1 = Output text message before the device list
/m2 = Output text message after the device list
Notes:
? - will cancel out all other options.
/f - will always cause a display to be given (even if there are
no removable media devices with media in them).
/r /f - is useful for debugging and for curious users.
/i - use when you do not wish to test certain devices.
/m1 /m2 - output message dialog format format
+----------------------------------------------+
] Title ]
]----------------------------------------------]
] ]
] /m1 message text (or a default message) ]
] ]
] List of disks with Media in them ]
] ]
] /m2 message text ]
] ]
] OK button ]
] ]
+----------------------------------------------+
Known Problems:
1) The SHUTOBJ PACKAGE on OS2TOOLS contains a shutdown object
which can suppress closing dialogs. This function will
cause DISKMON's output message not to be displayed. To
circumvent this problem add an invocation of DISKMON /r
to SHUTOBJ's "Clean Up before Shutdown" option in its settings
notebook.
DISKMON PACKAGE is available on OS2TOOLB, and can be obtained through
the TOOLCAT exec.