I'm using 4.12 beta on XP.
When I select a directory the name of which begins with
"-" (hyphen) e. g. : -mydir and clilck on Add button,
the following message appears:
Was going to submit another bug, but could be related. I'm
new to Sourceforge + 7-zip.
Using 3.13 under XP, I can't decompress from an archive
whose name begins with dash "-". If I prefix the file name
with double-dash "--" for end-of-options, will it work?
7za e -- -file-name.zip file-to-extract.txt
Thanks...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=336051
Same problem with 7za
echo "file" > -file
"7za a file.7z -file" raises an error.
On Unix, the flag "--" indicates the end of options.
So add the "--" flag,
and "7za a -- -file.7z -file" should work.
Logged In: YES
user_id=65083
Yes, I've fixed it that way.
Logged In: YES
user_id=1183331
Was going to submit another bug, but could be related. I'm
new to Sourceforge + 7-zip.
Using 3.13 under XP, I can't decompress from an archive
whose name begins with dash "-". If I prefix the file name
with double-dash "--" for end-of-options, will it work?
7za e -- -file-name.zip file-to-extract.txt
Thanks...
Logged In: YES
user_id=65083
use 4.13 beta
Logged In: YES
user_id=927194
Even in 4.13beta the problem still persists.
Try to zip a file named -test.txt or any other file with a
"-" as the first character in its name.