Get the App
SLTechnology News&Howtos  ›  Servers  › 

Windows cmd batch script Command Line Compression tool 7z zip Compression File Auto Compression script

Shulou Source: shulou.com Published: 2022-06-02 14:09:22 10月03日 Update

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\

Tags: Files scripts commands backups folders tools two addresses offsite time directories courses applications Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple Shulou Tech Info MariaDB vpn Redmi