Add File Unlock Function to TC

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
jinsight
Senior Member
Senior Member
Posts: 299
Joined: 2003-02-25, 19:47 UTC
Location: Wooster, Ohio, USA

Add File Unlock Function to TC

Post by *jinsight »

References have been made previously in passing while discussing file deletion issues to the addition of a file unlock function. See https://www.ghisler.ch/board/viewtopic.php?f=14&t=52811&p=355872&hilit=lockhunter#p355872 or https://www.ghisler.ch/board/viewtopic.php?p=404304#p404304.

This is an explicit request in Suggestions for a file unlock function within TC.
License #1945
Windows 10 Pro x64
Version 22H2 (OS Build 19045.3930)
TC 11.00 x64 and x86, Everything 1.5.0.1366a x64, QAP 11.6.3.1 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Add File Unlock Function to TC

Post by *ghisler(Author) »

Why not use LockHunter? It works fine with Total Commander.
Author of Total Commander
https://www.ghisler.com
User avatar
Hacker
Moderator
Moderator
Posts: 13052
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Add File Unlock Function to TC

Post by *Hacker »

Well, sure we can, but it's another tool that needs to be used. I understand the point of view that replicating functionality which is readily available in an external tool is time perhaps better spent otherwise, though.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Add File Unlock Function to TC

Post by *ghisler(Author) »

The problem is that there are no official functions to unlock a file. You need to wade through other process's images and look for open handles to that file, which is rather risky and may break with Windows updates. Therefore I prefer not to add it.
Author of Total Commander
https://www.ghisler.com
User avatar
Hacker
Moderator
Moderator
Posts: 13052
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Add File Unlock Function to TC

Post by *Hacker »

Christian,
Is there perhaps some kind of ready-made DLL TC could use?

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Post Reply