white wrote: 2022-08-19, 08:51 UTC
So it's not locked if it's viewed via Total Commander by running the FastStone program and passing the file as parameter, correct?
(This can be done on TC's command line, by creating a button on TC's button bar, or by creating an internal association in TC)
My apologies. I'm not familiar with the button bar. But if TC's command line does the same thing then I just tested it and it locks the file and it cannot be deleted. And the only process accessing the file is Total Commander.
So the file is locked and cannot be deleted if:
- I open it in TC by double clicking on the file
- I open it in TC by right mouse click and "open as"
- I run the image viewer on the TC's command line and pass the filename as parameter
(After I killed the suspicious "dllhost.exe" process nothing changed, the file is still locked - this time ONLY by Total Commander).
The file is not locked and can be deleted if:
- I run the image viewer in Windows and open the file using the app
- I run the image viewer via Windows command line ("cmd" run either in Win or via TC) and pass the filename as the parameter
- I doubleclick on it in File Explorer
The fact that it cannot be deleted is less annoying than the fact that TC freezes for five minutes... Normally if a process blocks the file then TC returns an error message and everything is fine. But this time TC is the only process accessing the file and it won't return an error message, it simply freezes at 0%.
Hacker: the internal association of the file leads to the photo viewer (FastStone MaxView).