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
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.
Summary: I am writing a batch process to move files from one directory to another. However, if a file is in use (being written) I either want to wait (retry) or abort and continue processing other files in th...
Summary: How do I determine if Floppy is in drive? I assume there is a interrupt 13 function that will do this. Running msdos 7.1 from a program (VB dos) I would like to check if a floppy is in the drive. Wit...
Summary: help. does anyone know how to check if a string is found in a batch file ?? I make use of FIND /c /i command but then it return me the file name plus the count but i wanted the count only. ...