Say have an executable target.exe, is there any way to compress this file into target.zip without specify archive name(output name) by using 7zip command line?
|
feedback
|
|
I don't think it's possible with the command line utility alone. The If you try without specifying an archive name, you get a However: 7-zip is open source software. You can modify how the Here's a Perl script I quickly threw together which should be able to do what you want:
The script will take the name of the first argument (before the Place the script somewhere in your PATH and use it like so: 7z.pl target.exe otherfile someotherfile It will create an archive named | ||||
|
feedback
|
|
What you're attempting to do is a gzip function. 7zip supports gzip as one of it's unzip methods although it doesn't support it a zip function. See the info here http://www.gzip.org/. | |||
|
feedback
|