> -----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.


Regards,
Konstantin Preißer


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to