home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!sun4nl!wtrlnd!contrast!postmaster
- From: berend@contrast.wlink.nl (Berend de Boer)
- Newsgroups: comp.lang.pascal
- Subject: File locking question
- Message-ID: <726229326.AA01018@contrast.wlink.nl>
- Date: Tue, 05 Jan 1993 10:12:08
- Sender: postmaster@contrast.wlink.nl
- Lines: 17
-
- Hendrik Klompmaker wrote in a message to All:
-
- HK> Is there a simple (and
- HK> fast and small) method to detect if a file is locked or
- HK> not?
-
- A program in TP can try to open a file. If an error like 162 is returned
- the file is probably locked. An appropriate error level exit can be
- handled by batch files.
-
-
- Groetjes,
-
- Berend. (-:
- fido: 2:281/527.23
- email: berend@contrast.wlink.nl
-
-