Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I specify full extensionless result path 7zip adds one corresponding to the type of created archive. How can I make it name the result file exactly as I have specified in command line argument?

share|improve this question
up vote 2 down vote accepted

What is your command line?

When you want no extension you could use filename. as filename.
(Note the dot at the end)

"C:\Program Files\7-Zip\7z" a -tzip zip_filename. source_directory\*
share|improve this answer
Yeah, it works with the dot! Thanks. – SerG Jan 29 '14 at 11:31

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.