Extract to network share not possible?
Moderators: Hacker, petermad, Stefan2, white
Extract to network share not possible?
Some weird just occurred to me:
I have an archive (rar) and want to extract the files to another computer. Due to password problems I have setup TC to use Winrar for handling the rar archives. When I do a copy F5 to \\server\share the files are unpacked to the local directory, not the network share.
Is this intentional or is it a bug?
I have an archive (rar) and want to extract the files to another computer. Due to password problems I have setup TC to use Winrar for handling the rar archives. When I do a copy F5 to \\server\share the files are unpacked to the local directory, not the network share.
Is this intentional or is it a bug?
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Try using WinRAR.exe instead of Rar.exe. I have just tested with WinRAR.exe, and it works.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Cannot reproduce. Tester on XP SP2 Pro, TC7rc3, WinRAR 3.62. Unpacking with Alt+F9 from the left panel (local drive) to the right one (UNC-path).
<ADDED>
Tested with copying from archive via F5 - results are the same.
All tests were performed with the local share \\<my-computer>\Incoming.
<ADDED>
Tested with copying from archive via F5 - results are the same.
All tests were performed with the local share \\<my-computer>\Incoming.
Last edited by Flint on 2007-04-21, 15:46 UTC, edited 1 time in total.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
Re: Extract to network share not possible?
Confirmed (TC7rc3, WinRar 3.62, W2k).AVE160 wrote:When I do a copy F5 to \\server\share the files are unpacked to the local directory, not the network share.
This seems to apply only to local shares (both via \\127.0.0.1\share and using the external IP of the local PC), this problem does not exist with remote shares on other PCs.
Also everything is going right when using Alt-F9 to extract the whole archive.
But (after opening the archive in TC) using F5 to copy single files or dirs fails, the extracted files/dirs are extracted to the local dir the archive is in.
To reproduce:
- make shure "Use internal un-RAR if possible" is NOT checked in Options / Config. / Packer
- open rar file on the left
- open a (local) share on the right panel (\\127.0.0.1\c)
- use F5 to copy a single file or dir to the share on the right panel
=> It will be extracted to the dir of the rar that is opened on the left side.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
-- TC starter menu: Fast yet descriptive command access!
Ah, that's the point! Now I can confirm the problem. However, I can't tell whether it is a bug of TC or WinRAR...StatusQuo wrote:- make shure "Use internal un-RAR if possible" is NOT checked in Options / Config. / Packer
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
Neither do I.
I can try giving the commandline options to WinRAR directly, if I only knew what they were
Doing a manual unpack of a .rar file with winrar (manual=from the commandline) the files are extracted to the networkshare, but that was without much options and I do not know what options TC gives to the external unpacker.
I can try giving the commandline options to WinRAR directly, if I only knew what they were

Doing a manual unpack of a .rar file with winrar (manual=from the commandline) the files are extracted to the networkshare, but that was without much options and I do not know what options TC gives to the external unpacker.
You can check it with my simple test program from this post.AVE160 wrote:and I do not know what options TC gives to the external unpacker.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Here is the command line passed to WinRAR:
c:\WinRAR\winrar.exe x -c- E:\test\test.rar \\server\share @c:\temp\CMD363.tmp
The file CMD363.tmp contains the file names of the files which need to be unpacked. You can write *.* instead of it to extract all files.
I can confirm that WinRAR tries to extract to the directory of the rar file when trying to unpack to the root of the share. This seems to be a bug in WinRAR. It seems to work when I specify \\server\share\ with a trailing backslash instead of just \\server\share ...
As a workaround, I will append a backslash for the RAR packer if the target is the root of a share.
c:\WinRAR\winrar.exe x -c- E:\test\test.rar \\server\share @c:\temp\CMD363.tmp
The file CMD363.tmp contains the file names of the files which need to be unpacked. You can write *.* instead of it to extract all files.
I can confirm that WinRAR tries to extract to the directory of the rar file when trying to unpack to the root of the share. This seems to be a bug in WinRAR. It seems to work when I specify \\server\share\ with a trailing backslash instead of just \\server\share ...
As a workaround, I will append a backslash for the RAR packer if the target is the root of a share.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Fully confirmed here, and a trailing backslash seems to help.ghisler(Author) wrote:I can confirm that WinRAR tries to extract to the directory of the rar file when trying to unpack to the root of the share. This seems to be a bug in WinRAR. It seems to work when I specify \\server\share\ with a trailing backslash instead of just \\server\share ...
As a workaround, I will append a backslash for the RAR packer if the target is the root of a share.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
-- TC starter menu: Fast yet descriptive command access!
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Yes, confirm fixed.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact: