home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / lang / pascal / 7892 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  687 b 

  1. Path: sparky!uunet!mcsun!sun4nl!wtrlnd!contrast!postmaster
  2. From: berend@contrast.wlink.nl (Berend de Boer)
  3. Newsgroups: comp.lang.pascal
  4. Subject: File locking question
  5. Message-ID: <726229326.AA01018@contrast.wlink.nl>
  6. Date: Tue, 05 Jan 1993 10:12:08
  7. Sender: postmaster@contrast.wlink.nl
  8. Lines: 17
  9.  
  10. Hendrik Klompmaker wrote in a message to All:
  11.  
  12.  HK> Is there a simple (and
  13.  HK> fast and small) method to detect if a file is locked  or
  14.  HK> not?
  15.  
  16. A program in TP can try to open a file. If an error like 162 is returned
  17. the file is probably locked. An appropriate error level exit can be
  18. handled by batch files.
  19.  
  20.  
  21. Groetjes,
  22.  
  23. Berend. (-:
  24. fido: 2:281/527.23
  25. email: berend@contrast.wlink.nl
  26.  
  27.