开发者

Monitor Hard drive for new files created

开发者 https://www.devze.com 2023-02-27 07:59 出处:网络
I am not sure if there is any utility which monitors hard drive for any new files getting created. I am using one application that creates many files on my hard drive but I am not sure how can I mon

I am not sure if there is any utility which monitors hard drive for any new files getting created.

I am using one application that creates many files on my hard drive but I am not sure how can I monitor those newly created 开发者_开发百科files.

BTW I am using Windows VISTA x64 machine.

Thanks in advance !


In native code, use a directory change notification.

If you prefer .net, then use FileSystemWatcher.


If you are a programmer and know Python, you should check https://fascinator.usq.edu.au/trac/wiki/Watcher

It monitors folders/directory for file changes i.e. created, deletion, modification.

If you are a Java Programmer, you should check WatchService in JDK 7. http://download.oracle.com/javase/tutorial/essential/io/notification.html


Check out the FileSystemWatcher class. It will help you by notifying you when something in a particular directory has changed.

0

精彩评论

暂无评论...
验证码 换一张
取 消