ForceDel - a tool that deletes locked files

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

User avatar
Motorocker
Member
Member
Posts: 105
Joined: 2006-07-19, 10:52 UTC
Location: Perm, Russia
Contact:

Post by *Motorocker »

ForceDel = Unlocker?
Graphics Converter – images conversion
KillOK – Cease to press OK!
NSCopy – copy unreadable
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

Nope, ForceDel = ForceDel.

Icfu
This account is for sale
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

But they do similar job.
User avatar
byblo
Senior Member
Senior Member
Posts: 270
Joined: 2005-02-20, 21:13 UTC
Contact:

Post by *byblo »

m^2 wrote:I have no idea how do they hide themselves. I wrote no specific code for it, so probably it can't. If you provide some more info, I will try to do this :)
Since I've neved programmed an anti-rootkit program, I have no idea on how it works. Maybe you can find some free sources ?
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

byblo wrote:
m^2 wrote:I have no idea how do they hide themselves. I wrote no specific code for it, so probably it can't. If you provide some more info, I will try to do this :)
Since I've neved programmed an anti-rootkit program, I have no idea on how it works. Maybe you can find some free sources ?
Not so easy. I've never seen an open source antirootkit. Possibly because such sources would help making rootkits. I can search, but don't expect it soon.
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

Beta 5

[+] Position stored per resolution
[+] Enclosing path in double quotes is no longer required
[+] Croatian, Dutch, Polish, Spanish languages. Big thanks to all translators.
[~] Some cleanup (more to do)
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

Beta 6

Code: Select all

[!] Minimal dialog size corrected
[!] Crash when deleting big directories
[+] More standard language file format
[+] GUI: Full Path text
[+] Press F1 to show command line reference
[~] Cleanup (continued and finished)
[~] Display some info even with WarningLevel set to 0 (no GUI) when started w/out command line parameters
[~] Polish language updated to v. 1.7b6
I think I got rid of most minor annoyances. Command line reference needs a button, but I got no idea where to place it. The next thing to come is unloading dlls.
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

Command line reference needs a button, but I got no idea where to place it.
Right beneath the "Go!" button.

I would also redesign GUI:
1. Options on the left, all above each other, aligned with path box.
2. Description text "ForceDel für NT+" on the right side
3. Accelerators are missing too.

Icfu
This account is for sale
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

icfu wrote:
Command line reference needs a button, but I got no idea where to place it.
Right beneath the "Go!" button.
:o
Do you mean that I should move log down?
icfu wrote:I would also redesign GUI:
1. Options on the left, all above each other, aligned with path box.
2. Description text "ForceDel für NT+" on the right side
What's the difference between having options on the left and on the right?
icfu wrote:3. Accelerators are missing too.
Quick fix :)
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

Do you mean that I should move log down?
Sorry, I meant "right aside", not "right beneath".
What's the difference between having options on the left and on the right?
It looks WAY more professional and cleaned up to align stuff, in short it optimizes usability.
Quick fix
Well, all your translators are mouse users as well, I guess... ;)

Icfu
This account is for sale
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

icfu wrote:
Do you mean that I should move log down?
Sorry, I meant "right aside", not "right beneath".
Yes, for me also it looks like the best place. But this line is cramped enough already... I'll think about it.
icfu wrote:
What's the difference between having options on the left and on the right?
It looks WAY more professional and cleaned up to align stuff, in short it optimizes usability.
It seems I'm not professional enough. ;)
We'll see.
icfu wrote:
Quick fix
Well, all your translators are mouse users as well, I guess... ;)
I'm rather a keyboard user. But I don't change these options too often ;)

ADDED:
Update

Code: Select all

[+] Keyboard accelerators in polish and  english languages
User avatar
deus-ex
Power Member
Power Member
Posts: 969
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

Hello m^2,
I tried this tool after a while once again.

ForceDel (v1.7 beta 6a) still isn't able to delete Internet Explorers temporary file index.dat. It also fails to browse the file, i.e. trying to enter the folder Temporary Internet Files just copies the folder name into the Full path field. Manually adding the file and trying to delete it gives ERROR: OpenProcess(2452) failed: 5 "Couldn't delete all files", sometimes ForceDel would just close down immediately without any error message.

Hopefully you can improve the situation?

____________
Best regards,
deus-ex

@Tofu
"Nimm die Finger aus E-ma-nu-eee-la!" :D
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

deus-ex wrote:Hello m^2,
I tried this tool after a while once again.

ForceDel (v1.7 beta 6a) still isn't able to delete Internet Explorers temporary file index.dat. It also fails to browse the file, i.e. trying to enter the folder Temporary Internet Files just copies the folder name into the Full path field. Manually adding the file and trying to delete it gives ERROR: OpenProcess(2452) failed: 5 "Couldn't delete all files", sometimes ForceDel would just close down immediately without any error message.

Hopefully you can improve the situation?

____________
Best regards,
deus-ex

@Tofu
"Nimm die Finger aus E-ma-nu-eee-la!" :D
Temporary Internet Files is a strange animal...it seems it requires some special treatment. AFAIR Unlocker lists deleting index.dat as independent feature, I didn't write any specific code for it (TODO? Probably...).

How to make IE create such file?

About OpenProcess(2452) failed: 5 is error code ("Access denied") and 2452 - ProcessID. ( I definitely have to do something to make these messages more user friendly. )
Is 2452 Internet Explorer? Or maybe onr of system processes holds it?

Regards, m^2

ADDED: It seems that it is possible to delete such files on reboot. This is a thing FD can do.

ADDED2: Everybody says it's impossible to delete index.dat w/out reboot (it's possible to clean it's contents, but it's not the same...). But Unlocker does it. I found no other application that does it w/out playing with kernel, so it's probably the only way. Maybe one day I'll do it (it's interesting!), but I probably won't find enough time.
User avatar
deus-ex
Power Member
Power Member
Posts: 969
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

m^2 wrote:How to make IE create such file?
It is created on every reboot or restart of Internet Explorer if it is missing. It holds an index of Internet Explorers cache content.

m^2 wrote:Is 2452 Internet Explorer? Or maybe onr of system processes holds it?
It's the number of another system process, an Antivirus solution. Regardless if the AV application or Internet Explorer is running or not, index.dat cannot be deleted.

m^2 wrote:It seems that it is possible to delete such files on reboot. This is a thing FD can do.
Yes, I know this allready. I don't need a tool for this, I can remove the file after reboot on my own, either by calling a script/batch process or by manually deleting the file using Total Commander.

m^2 wrote:Everybody says it's impossible to delete index.dat w/out reboot (it's possible to clean it's contents, but it's not the same...).
Yes, you can clean the contents (thus removing the cache contents at the same time) using an appropiate function call, which for example can be accessed from the Internet Explorer preferences menu.

m^2 wrote:Maybe one day I'll do it (it's interesting!), but I probably won't find enough time.
No problem, m^2. Anyway, thank you for looking into it. :)

____________
Best regards,
deus-ex
User avatar
eugensyl
Power Member
Power Member
Posts: 564
Joined: 2004-06-03, 18:27 UTC
Location: România
Contact:

Post by *eugensyl »

2 m^2

Could you explain parameter which can be preset through INI file ?

Thanks in advance!
My Best Wishes,

Eugen
Post Reply