+[8.50ß13-x32] Error re-packing edited file with spaces

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

Moderators: Stefan2, white, sheep, Hacker

Post Reply
User avatar
Flint
Power Member
Power Member
Posts: 3168
Joined: 2003-10-27, 09:25 UTC
Location: Moscow, Russia
Contact:

+[8.50ß13-x32] Error re-packing edited file with spaces

Post by *Flint » 2013-12-23, 17:35 UTC

0. Make sure you have WinRAR installed and path to its executable specified in the TC settings.
1. Create a RAR archive with a text file, so that this text file contained spaces in its name (the archive name may contain no spaces, it doesn't matter).
2. Enter the archive, open the text file for editing, modify it, save and close the editor (if the editor is MDI, press the "Close" button in the waiting dialog in TC).
3. Agree to re-pack the modified file back to the archive.
4. TC calls WinRAR, but error message is displayed about failure to find the file.

Investigation revealed that TC cuts off the first letter of the file name, replacing it with a double quote. In my case there was the archive f:\Temp\test.rar containing file test file.txt, and WinRAR was invoked with the following command line:

Code: Select all

"C:\Program Files\WinRAR\WinRAR.exe" a -c- f:\Temp\test.rar "est file.txt
The problem can be reproduced in 32-bit TC only, not in 64-bit version.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 9.21a / Win7 x64 SP1, Win10 x64

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

Post by *ghisler(Author) » 2013-12-24, 13:56 UTC

Thanks, I could reproduce the error. Please retry with beta 14.
Author of Total Commander
http://www.ghisler.com

User avatar
Flint
Power Member
Power Member
Posts: 3168
Joined: 2003-10-27, 09:25 UTC
Location: Moscow, Russia
Contact:

Post by *Flint » 2013-12-24, 14:13 UTC

Confirm fixed in 8.50β14.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 9.21a / Win7 x64 SP1, Win10 x64

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

Post by *ghisler(Author) » 2013-12-24, 15:10 UTC

Thanks!
Author of Total Commander
http://www.ghisler.com

Post Reply