LockCheck 1.3 - December 17, 1999
==============================

Included Files:

LockChk.CPP - C++ Source Code
LockChk.Exe - Win32 Executable
LockChk2.Exe - OS/2 Executable
LOCKCHKD.COM - DOS Executable



Syntax:

LockChk [-L] <filename>



Useage:

LockCheck is a simple utility which checks to see if a specified file or 
set of files is in use by another process.  LockCheck now has two modes, 
BATCH (default) and LOCATE.

In batch mode LockCheck returns an ERRORLEVEL 1 if any of the selected 
files are in use and a 0 if none.  It will also display all the files to
the screen as it processes them and if a locked file is found it
identifies the file and describes what condition exists that has the file
locked.

In LOCATE mode, LockCheck will locate all the locked files in the specified
path and display *only* the locked files to the screen. **NOTE: Locate mode
does not work properly with the OS/2 version.



Example (batch mode):

@ECHO OFF

:TOP
LockChk *.DBF
IF ERRORLEVEL 1 GOTO LOCKED
GOTO PROCESS

:PROCESS
ARCHIVE 01/01/1999
GOTO END

:LOCKED
ECHO Sorry, someone's in the system.
GOTO END

:END



Installation:

Just copy the appropriate LockCheck executable to somewhere in your PATH 
(ie, C:\DOS, C:\Windows, C:\OS2, etc.).



History:
1.3 - December 17, 1999
Added LOCATE mode

1.2 - November 18, 1999
Fixed bugs, added "intelligent" error processing and display to screen list
of files as they are processed

1.1 (Not pubicly released) - November 16, 1999
Now accepts wildcards

1.0 - August 9, 1999
Initial release



Distribution:

I am releasing LockCheck and its accompanying C++ source code into the 
public domain and you may distribute it freely.  You may also freely use 
the source code in any way that you see fit.



Contacting the author:

If you have any questions, comments, suggestions, etc. I can be reached via
Internet e-mail at sysop@coderite.com
