Archived from groups: microsoft.public.win2000.file_system (More info?)
Hello all,
We have our own disk monitoring service (C++ code) running as Windows
service. This monitors the free disk space and deletes files and
folders, in specific folders, if necessary.
The product runs on both Win2k and Win2k3, with typical configuration
as follows:
P4 3GHz Dual Processor
1GB RAM
70GB Harddisk
When the system is under load, ( the free disk space is around 500 MB),
some of the folders are not deleted, even though there are no files.
The error is due to the fact the folder is being used by another
process.
We wanted to know how we can detect if the folder is in use by another
application?
Archived from groups: microsoft.public.win2000.file_system (More info?)
pradeepsrinivasa@yahoo.com wrote:
> Hello all,
> We have our own disk monitoring service (C++ code) running as Windows
> service. This monitors the free disk space and deletes files and
> folders, in specific folders, if necessary.
>
> The product runs on both Win2k and Win2k3, with typical configuration
> as follows:
> P4 3GHz Dual Processor
> 1GB RAM
> 70GB Harddisk
>
> When the system is under load, ( the free disk space is around 500 MB),
> some of the folders are not deleted, even though there are no files.
> The error is due to the fact the folder is being used by another
> process.
> We wanted to know how we can detect if the folder is in use by another
> application?
>
> Best Regards,
> Srinivasa Pradeep
>
You are about to answer a thread that has been inactive for more than 6 months. If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.