Windows cmd batch script Command Line Compression tool 7z zip Compression File Auto Compression script
Automatic backup of the application of Windows command line batcmd script remote backup
2.1.2windows cmd batch script Command Line Compression tool 7z zip Compression File Auto Compression script
Course address: http://edu.51cto.com/course/15056.html
Installation and deployment
1. Open the 7z official website https://sparanoid.com/lab/7z/
two。 Download the installation package
3. Installation
4. Open the installation directory: C:\ Program Files\ 7-Zip
5. Copy files: 7z.exe and 7z.dll
6. Paste into C:\ Windows\ System32
Start using
Compressed folder An is A.zip
7z a-tzip A.zip A*
Compress folder An and name it at the current time
Set "name=%date:~0,4%%date:~5,2%%date:~8,2%%time:~0,2%%time:~3,2%%time:~6,2%"
7z a-tzip% name%.zip A*
Extract the compressed package A.zip
7z x A.zip-oB\