Who has a file open?
Moderators: Hacker, petermad, Stefan2, white
-
- Junior Member
- Posts: 31
- Joined: 2008-02-15, 13:59 UTC
- Location: Houston, Tx
Who has a file open?
Is there a plugin for TC that will add a custom column that lists the username that has a file open?
We are on a network with many users who leave their computers on and software running on a shared network drive. I would like to see the user who has an EXE file open so I can go over and shut down their PC so I can update to a newer version of the EXE they have open.
I'm running Win7-64 if that matters.
TIA
We are on a network with many users who leave their computers on and software running on a shared network drive. I would like to see the user who has an EXE file open so I can go over and shut down their PC so I can update to a newer version of the EXE they have open.
I'm running Win7-64 if that matters.
TIA
- ghisler(Author)
- Site Admin
- Posts: 50934
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
No, not to my knowledge. Personally I'm using the Tool LockHunter, which is accessible from the TC context menu.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50934
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Is there a tool which can do this over a network? Not to my knowledge.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Here's s simple solution to query a specific file.
Button code, copy and paste and replace the servername:
Button code, copy and paste and replace the servername:
Code: Select all
TOTALCMD#BAR#DATA
%comspec% /k openfiles /query /fo csv /s servername | find /i
"%N"
%comspec%
0
-1
BTW openfiles works incorrectly under Windows x64 (it seems that 64-bit version must be used here). So %windir%\SysNative\cmd.exe should be used instead of %comspec%.
And, under Vista/7 with UAC it requires admin rights, so button must be started with elevation (or path to my Sudo tool may be inserted at the beginning of command line).
And, under Vista/7 with UAC it requires admin rights, so button must be started with elevation (or path to my Sudo tool may be inserted at the beginning of command line).
Using it from UNC-path, I get an error "UNC not supported .... and more .."ZoSTeR wrote:Here's s simple solution to query a specific file.
Button code, copy and paste and replace the servername:
....
Using it from a mapped network-drive I get:
Code: Select all
FIND: Parameter format not correct
ERROR: Access is denied
I have full rights of the network-share, but I don't have full admin-rights.
Peter
TC 10.xx / #266191
Win 10 x64
Win 10 x64