File with chinese characters in filename undeletable

Bug reports will be moved here when the described bug has been fixed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
rehtor
Junior Member
Junior Member
Posts: 4
Joined: 2008-04-26, 16:30 UTC

File with chinese characters in filename undeletable

Post by *rehtor »

I'm using TC 7.03 and I've got a file which can't be deleted by Total Commander.
The filename is. asdf.专辑.rar

Deleting the two characters makes the file deletable. Deleting the file with original filename in Windows Explorer works also.

When I try to delete it, this error message pops up:
Error: c:\temp\asdf~1.rar cannot be deleted!

Please remove the write protection!

This message appears with admin privileges too.
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

Unicode name is a reason. Total Commander will support it in next version 7.5.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I don't have any problems to delete this file here. TC 7.03 deletes it via its short DOS name asdf~1.rar without any problems.

Maybe the file was locked when you tried to delete it? Or was it on a remote drive like Novell Network which has problems with short DOS names?

Anyway, TC 7.5 will delete such files via their Unicode names.
Author of Total Commander
https://www.ghisler.com
rehtor
Junior Member
Junior Member
Posts: 4
Joined: 2008-04-26, 16:30 UTC

Post by *rehtor »

Thanks for the replies.

Hm, the file can't be locked, because I can rename it (deleting both characters and deletion succeeds). Above from that it is on a local drive, formated with NTFS.

(I'm running Vista Ultimate)

Okay, waiting for 7.5 then ... ;)
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

2rehtor
Hm, the file can't be locked, because I can rename it
I'd like to contradict here. Using Win2k/XP you can try this with the TOTALCMD.EXE that is currently running:
you can rename it without a problem, but can't delete it.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
rehtor
Junior Member
Junior Member
Posts: 4
Joined: 2008-04-26, 16:30 UTC

Post by *rehtor »

Ok, I was wrong. Well, I will check with Sysinternal's Process Monitor if another process is locking the file.
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

No Chinese user here to test this?
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

No that I am Chinese, nor do I understand Chinese, yet:

Created the file "%temp%\asdf.专辑.rar" without any problem, using T.C. 7.50 PB3.
Selected the file "%temp%\asdf.专辑.rar" and pressed DEL. Confirmed the dialogue box. The file was moved to the recycle bin.

+ Windows Vista Home Premium, 32bit, ger
+ Total Commander 7.50 PB3 (and above)

Karl
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

OK, thanks - I will move it to "fixed" for now.

To all:
Please submit a new bug report if you have troubles deleting a file with special name.
Author of Total Commander
https://www.ghisler.com
Post Reply