Computing.Net > Forums > Disk Operating System > file in use check for batch

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.

file in use check for batch

Reply to Message Icon

Name: Cary
Date: August 29, 2002 at 17:04:29 Pacific
Comment:

I need a way to check if a file has completed a windows “Save As” process before my batch file uses the saved file. If the file has not completely finished being saved, it corrupts the end process.
Using win2000 Pro
Thanks



Sponsored Link
Ads by Google

Response Number 1
Name: Miskva
Date: August 30, 2002 at 03:33:53 Pacific
Reply:

Hmmm, depends on what kind of file you are talking about

What is the state of the file, before the save ? non-existant (that would make it easy), it exists but is zero byte in size (and protected against changes) .. could do a check on size then



0
Reply to Message Icon

Related Posts

See More







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: file in use check for batch

copying files in use www.computing.net/answers/dos/copying-files-in-use/5247.html

Check if a file is in use www.computing.net/answers/dos/check-if-a-file-is-in-use/13573.html

Batch files - check directory www.computing.net/answers/dos/batch-files-check-directory/10295.html