Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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 at 11:31

Your Answer

 
discard

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.