7z fails to recognise strings in command line
A free file archiver for extremely high compression
Brought to you by:
ipavlov
Extracting files with a "-" in filepath (mostly in directories) causes the 7z.exe to fail, ignoring the quotation marks. This happens 10/10 times if the "-" is at the start of the string.
Here's a command prompt from my logs (I can send you the full source code in case you wan't to test it in the same environment):
[META-COMMAND] 7z.exe e "\nas\Denis\Maps\DM-NikotiN-v10-Crennips.zip" "-DM-NikotiN-v10-Crennips\meta.xml" -so
Command Line Error:
Unknown switch:
-DM-NikotiN-v10-Crennips\meta.xml
use
--that swicthes off minus character parser.