home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
desqview
/
files005.arj
/
FILES.DOC
< prev
next >
Wrap
Text File
|
1991-06-25
|
3KB
|
67 lines
This started out as a quick & dirty program for my own use. After
playing with it a little and with some prodding (ouch :-)) by Don
Dawson of 1:141/730, we thought it was too fun not to pass along.
This program is based on a Byte Magazine Article (March 1991)
_Undocumented_DOS_ by Andrew Schulman, the article was adapted from
the book of the same name, by Andrew Schulman, Raymond J. Michels,
Jim Kyle, Tim Paterson, David Maxey, and Ralf Brown.
Written using DVGLUE by Ralf Brown & Ralf Brown's INTER191.Zip.
Files.exe - Displays a table of currently open files . It will loop
continuously until the ESC is key pressed. It will only run under
Desqview and DOS 3.1 or higher (I've only tested it with DV 2.31 and
MS-DOS 3.3 with Share.exe).
Fields displayed:
y/n sleep mode on (+) or off (-)
Filename Ext name/ext of file
Size current file size
Offset current offset into file
Attr files' attribute
Mode open mode
Date files' date
Time files' time
Hnd number of file handles referring to this file (?)
PSP File owners PSP
Active Keys:
Esc Exit/Quit
PgUp/PgDn Moves between display screens (if more than one)
Home clear and redraw screen
F2 Toggle open/all mode
F3 Toggle regular/open mode display
F4 Toggle sleep/nosleep mode
F5 Toggle full path display/regular display
Pressing the space bar or F2 will toggle open/all modes. The initial
mode shows only open files. The all mode will dump the whole file
table, files that are not open will show a 0 in the 'handles' column.
Pressing F3 will provide more detail about the open files, sharing
modes and file attributes.
Pressing F4 toggles sleep mode on and off. While on the program will
give up one second of time after each screen refresh, this is the
default. This gives back a lot of time to the system and will allow
Files to use very little overhead. While sleep mode is on a '+' will
be displayed in the upper left hand corner of the screen. When sleep
mode is toggled off the screen redraw will be more frequent, at the
expense of hogging more system time. The '+' will change to a '-'
when sleep mode is toggled off.
Pressing F5 toggles display of the full path to the open files if
share.exe is loaded.
Files attempts to be smart about the screen length and displays only
as many files as will fit on the screen. If you resize the window it
will try to adjust to the new window height. Pressing the Home key
will allow you to reset the display manually if it becomes confused.
Questions/Comments/Bug Reports may be sent to Bill Bond
1:325/118@fidonet