Problem with deleting files from rar archives
Moderators: white, Hacker, petermad, Stefan2
-
- Junior Member
- Posts: 21
- Joined: 2012-07-13, 19:27 UTC
Problem with deleting files from rar archives
Hello,
there seems to be a bug with deleting files from rar archives via TC.
Here are the details:
1. Enter rar archive.
2. Press F8/Del.
3. Pop-up widows comes up: Warning: no archives found.
4. Close the pop-up window.
5. The next window pops up: Error packing files.
Both TC and WinRar are 64 bit. My system is Windows 7.
The TC options:
Rar Packer: C:\Program Files\WinRAR\WinRAR.exe
Use internal unrar if possible is checked.
Could someone enlighten me what is wrong, please?
Regards
there seems to be a bug with deleting files from rar archives via TC.
Here are the details:
1. Enter rar archive.
2. Press F8/Del.
3. Pop-up widows comes up: Warning: no archives found.
4. Close the pop-up window.
5. The next window pops up: Error packing files.
Both TC and WinRar are 64 bit. My system is Windows 7.
The TC options:
Rar Packer: C:\Program Files\WinRAR\WinRAR.exe
Use internal unrar if possible is checked.
Could someone enlighten me what is wrong, please?
Regards
2a_flying_visit
You must use console version of the program (rar.exe).
You must use console version of the program (rar.exe).
Ukrainian Total Commander Translator. Feedback and discuss.
-
- Junior Member
- Posts: 21
- Joined: 2012-07-13, 19:27 UTC
- ghisler(Author)
- Site Admin
- Posts: 48130
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
???
WinRAR should work just fine, I'm using it myself (registered). The "file not found" means that TC couldn't find or start winrar.exe.
WinRAR should work just fine, I'm using it myself (registered). The "file not found" means that TC couldn't find or start winrar.exe.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Junior Member
- Posts: 21
- Joined: 2012-07-13, 19:27 UTC
In the light of what ghisler and MaxX wrote, there is something strange with my TC configuration, but what?
The path is definitely correct. I checked and rechecked it.
Now, when I try to start WinRar.exe from the TC's command line, a pop-up appears "file not found". But I am in the very same folder and I _can see_ the file!! What's more, when I try to quick search the file (alt+ winrar), TC finds the file without a hitch.
Both TC and Winrar are genuine and registered. Both are 64 versions.
But wait, there is more. When I type in the TC's command line (being in the winrar folder) "c:\Program Files\WinRAR\WinRAR.exe" it cannot find the file, but when I type just WinRAR.exe, it opens the app all right!
It doesn't matter whether TC is started as administrator or not.
Any ideas?
The path is definitely correct. I checked and rechecked it.
Now, when I try to start WinRar.exe from the TC's command line, a pop-up appears "file not found". But I am in the very same folder and I _can see_ the file!! What's more, when I try to quick search the file (alt+ winrar), TC finds the file without a hitch.
Both TC and Winrar are genuine and registered. Both are 64 versions.
But wait, there is more. When I type in the TC's command line (being in the winrar folder) "c:\Program Files\WinRAR\WinRAR.exe" it cannot find the file, but when I type just WinRAR.exe, it opens the app all right!
It doesn't matter whether TC is started as administrator or not.
Any ideas?
2a_flying_visit
Check your wincmd.ini for this line:
If you do NOT have this one (or have another one) -> replace existing line with this one and put RAR.exe (or WinRAR.exe, if you wish) in this path.
Also, on Win64, you can use x64 version of packer, too.
Note 1:
Actually, there should NOT be any diffrence with command line syntaxis between RAR.exe and WinRAR.exe.
Note 2:
There may be no problem with RAR, but may be some trouble with UnRAR.dll.
Check if you have proper version from official installer or try this one:
http://www.unibytes.com/yKh3V5G2jT0Lqw-Us4P3UgBB
http://www.gigabase.com/getfile/nwJXw981Wl6r8vTobczPjgBB/unrar.ZIP.html
http://www.share4web.com/get/byq7Y5S8CqlzAzGY9Fki6zOZG8mMh3Wg/unrar.ZIP.html
(Sorry for slow sever, but file is larger than forum allowed limit, try any link you can. Just click "free download" variant, no pay needed.)
Check your wincmd.ini for this line:
orRAR=%COMMANDER_PATH%\Plugins\arc\Rar.exe -m5 -s -t
InternalUnrar=1
If you have this one -> sheck the exe's path to be ok.RAR=%COMMANDER_PATH%\Plugins\arc\WinRAR.exe -m5 -s -t
InternalUnrar=1
If you do NOT have this one (or have another one) -> replace existing line with this one and put RAR.exe (or WinRAR.exe, if you wish) in this path.
Also, on Win64, you can use x64 version of packer, too.
Note 1:
Actually, there should NOT be any diffrence with command line syntaxis between RAR.exe and WinRAR.exe.
Note 2:
There may be no problem with RAR, but may be some trouble with UnRAR.dll.
Check if you have proper version from official installer or try this one:
http://www.unibytes.com/yKh3V5G2jT0Lqw-Us4P3UgBB
http://www.gigabase.com/getfile/nwJXw981Wl6r8vTobczPjgBB/unrar.ZIP.html
http://www.share4web.com/get/byq7Y5S8CqlzAzGY9Fki6zOZG8mMh3Wg/unrar.ZIP.html
(Sorry for slow sever, but file is larger than forum allowed limit, try any link you can. Just click "free download" variant, no pay needed.)
-
- Junior Member
- Posts: 21
- Joined: 2012-07-13, 19:27 UTC
Thanks for the links to unrar.dlls. I replaced the unrar.dlls, but that makes no difference. I had two unrar.dll file - one in windows/system32 and one in totalcmd folder.
I checked the path once again and added -m5 -s -t parameters. Nothing has changed.
I'll try to reinstall Winrar and put in the folder %COMMANDER_PATH%\Plugins\arc\.
Currently there is no "arc" subfolder in the Plugins folder. Winrar is in its default folder c:\Program Files\WinRAR\.
As I wrote, unpacking from TC works with the RAR console, so it's not a problem anymore. But since you say that TC should work with WinRAR, why doesn't it in my case? There must be some setting or tweak that I have missed, but no idea what it is.
The rar.exe and winrar.exe are in the same folder. Why can TC see rar.exe, but it can't see winrar.exe?
I checked the path once again and added -m5 -s -t parameters. Nothing has changed.
I'll try to reinstall Winrar and put in the folder %COMMANDER_PATH%\Plugins\arc\.
Currently there is no "arc" subfolder in the Plugins folder. Winrar is in its default folder c:\Program Files\WinRAR\.
As I wrote, unpacking from TC works with the RAR console, so it's not a problem anymore. But since you say that TC should work with WinRAR, why doesn't it in my case? There must be some setting or tweak that I have missed, but no idea what it is.
The rar.exe and winrar.exe are in the same folder. Why can TC see rar.exe, but it can't see winrar.exe?
-
- Junior Member
- Posts: 21
- Joined: 2012-07-13, 19:27 UTC
-
- Junior Member
- Posts: 21
- Joined: 2012-07-13, 19:27 UTC
It seems I have to resign myself to the fact that this mystery will not be solved. Just one more thing. TC can create archives with winrar.exe. The path I've got in configuration works all right.
It's just the problem with deleting files from archives. Here TC fails for some reason.
I'll be using rar console.
Thank you everybody for your help.
It's just the problem with deleting files from archives. Here TC fails for some reason.
I'll be using rar console.
Thank you everybody for your help.
Similar symptoms suddenly appeared, I've never seen this before, Win7 32bit, ZIP-file (and zip files with MAFF extension), I can unzip the whole archive with Alt-F9, I can even F3-view from the virtual file directory inside the ZIP, but trying to *copy* a file from the virtual file directory inside the ZIP to the neighbouring panel gave a "No archives found" warning and brought up a packer settings window.
When I replaced the preset non-existent "pkunzip" Zip-unpacker with Winrar.exe, I no longer get a packer config window but an "Unzip: Warning! Possible CRC error" instead.
And sure enough, running "c:\Program Files\WinRAR\WinRAR.exe" gives a "file not found" error. Wait, it does work with quotes...
Since WinCmd didn't need any external unpacker until today, and was happy with the non-existent pkunzip in the settings, and since F3-view and Alt-F9-unpack work fine, the issue is clearly elsewhere.
-------
EDIT: My issue resolved after a simple restart. Something weird must've gotten broken in the system temporarily. Pardon the fuss.
When I replaced the preset non-existent "pkunzip" Zip-unpacker with Winrar.exe, I no longer get a packer config window but an "Unzip: Warning! Possible CRC error" instead.
And sure enough, running "c:\Program Files\WinRAR\WinRAR.exe" gives a "file not found" error. Wait, it does work with quotes...
Since WinCmd didn't need any external unpacker until today, and was happy with the non-existent pkunzip in the settings, and since F3-view and Alt-F9-unpack work fine, the issue is clearly elsewhere.
-------
EDIT: My issue resolved after a simple restart. Something weird must've gotten broken in the system temporarily. Pardon the fuss.
Last edited by blind12 on 2015-06-26, 03:12 UTC, edited 2 times in total.