Computing.Net > Forums > Disk Operating System > Check if a file is in use

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Check if a file is in use

Reply to Message Icon

Name: conduit4
Date: July 21, 2003 at 07:00:35 Pacific
OS: W2K
CPU/Ram: Na
Comment:

Basically I have several batch files on different machines running a command and appending the output to a text file on a remote server. However, these are run at about the same time causing a conflict. These batch files have the same exact code and do the same exact thing.
I need a way to check if the text file is in use so the program can wait until it is freed up to append to the file. Is there a way I can do this? I just need something to return a true if it is being written to for example.




Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Running programs thru DOS Print from dos 6.22 to je...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: Check if a file is in use

moving in-use files www.computing.net/answers/dos/moving-inuse-files/5634.html

How do I determine if Floppy is in www.computing.net/answers/dos/how-do-i-determine-if-floppy-is-in-/14592.html

A String in file found in DOS www.computing.net/answers/dos/a-string-in-file-found-in-dos/10597.html