Home » Questions » Computers [ Ask a new question ]

7-zip command line escaping

7-zip command line escaping

Is it possible to escape characters from the source file or archive when using 7-zip's command line interface. For example:

Asked by: Guest | Views: 46
Total answers/comments: 1
Guest [Entry]

"The problem stems from that fact that these commands were being issued from within a batch file. The % symbol has a special meaning in batch files. They can be escaped by doubling up the symbol (%%). Example:

7z a ""My%%Archive.zip"" ""My%%File.txt"" -mx9

I also tried to escape with the caret (^) but that did not work.

The percent symbol problem has nothing to do with 7zip.

This question was answered on SourceForge.

SourceForge Thread"