Actually it is not a bug but...
I removed some files from a directory via TCMADMIN, then I went to upper folder and tried to rename folder itself, w/o luck. When I searched for open handles for that directory, I found that TCMADMIN has one.
TC should start TCMADMIN using TC directory as working directory and not current TC working directory.
TCMADMIN is unable to remove folder where it was started
Moderators: Hacker, petermad, Stefan2, white
Hm-m, you're right, TCMADMIN starts from right folder (C:\Windows in my case). It seems that here some another problem that have caused locking handle of that folder (I've deleted files from it).
Win7x64.
Here's how I got this problem:
1. entered a folder (something like E:\Program Files\Tools\TrafficCompressor\0)
2. removed some files from it via TCMADMIN
3. went one level up and tried to rename 0 to _xp and got error
Then I've started ProcExp and found that directory handle is owned by TCMADMIN.
Win7x64.
Here's how I got this problem:
1. entered a folder (something like E:\Program Files\Tools\TrafficCompressor\0)
2. removed some files from it via TCMADMIN
3. went one level up and tried to rename 0 to _xp and got error
Then I've started ProcExp and found that directory handle is owned by TCMADMIN.
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Maybe some background program (e.g. virus scanner) saw activity of tcmadmin in that directory and set it to current directory? Virus scanner often run in the process of the scanned app (e.g. via dll injection or a driver).
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com