Konstantin,

On 6/18/14, 5:54 PM, Konstantin Preißer wrote:
>> -----Original Message-----
>> From: Konstantin Preißer [mailto:kpreis...@apache.org]
>> Sent: Wednesday, June 18, 2014 11:42 PM
> 
>> Although Winrar.exe isn't a command-line tool, you can start it from
>> command-line to extract a file. Unfortunately, when I try to run this
>> command from an elevated cmd.exe to extract the OpenSSL source code
>> package, WinRAR fails to create the Symlinks ("the system cannot find the
>> specified path"):
>> Start /wait "" "%ProgramFiles%\WinRAR\winrar.exe" x openssl-1.0.1h.tar.gz
> 
> OK, I think the problem is when running the above command, WinRAR uses a 
> relative path to create a symlink which fails. It works if you specify an 
> absolute path as target:
> 
> Start /wait "" "%ProgramFiles%\WinRAR\winrar.exe" x openssl-1.0.1h.tar.gz 
> C:\MyFolder\OpenSSL-Output\
>
> With this command it will extract it to C:\MyFolder\OpenSSL-Output\ and 
> create the symlinks successfully.
> 
> 
> Unfortunately, WinRAR is proprietary software (not free). I have
> tried 7-Zip, but instead of actually creating the symlinks, it just
> seems to copy the file to the path where the symlink should be
> created.

I was using 7za.exe and it was creating files whose contents contained
the path-target of the symlink instead of what you describe above.

I'd be perfectly happy if it would just duplicate the files instead of
creating symlinks, but that does not seem to be the actual behavior.

-chris

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to