AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How get list of open files handles for specific drive?

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Tester



Joined: 06 Jul 2006
Posts: 48
Location: Poland

PostPosted: Thu Jun 28, 2007 6:52 pm    Post subject: How get list of open files handles for specific drive? Reply with quote

I try to write script for automatically unmounting encrypted drive.
But this drive refuses to unmount if some files are open or in use on this drive.
There is of course possible to force dismount, but I want to make it safe, so maybe anyone knows how to determine if (and which) a files are open on specific drive letter and for which processes this open handles belongs? So if I have list of processes which have open files, then I can try to close them first and then safely dismount drive.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group