Use 7-Zip on the command line. Compress, extract, archive and optimize with the 7za.exe
7-Zip — свободный файловый архиватор с высокой степенью сжатия данных . .... 2 Fatal error (Критическая ошибка) 7 Bad command line ...
I am using 7z command line executable to zip files, but I see that while adding to an archive the path of the files is preserved in the archive.
Other ZIP programs can open some archives with incorrect headers, since these programs just ignore errors.
I'm using this command as part of a batch to extract the contents of a 7z file from one drive (D) to another (F). The folder structure is important so
In this tutorial, I have shown how to compress multiple folders using 7zip application and batch file in windows 7.
Some 7-Zip command line examples. As mentioned in the previous post, 7-Zip is a great piece of open-source compression software.
7-Zip Command-Line. 7-Zip is an effective compression program.
The zip program puts one or more compressed files into a single zip archive, along with information about the files (name, path, date, time of last modification, protection, and check information to verify file integrity). An entire directory structure can be packed into a zip archive with a single command.
Switch options can be combined to save command line length. However, some switch options take optional string arguments and therefore, must be the last option in a combined argument