1.压缩本地文件,并把压缩后的文件复制到其他机器 net use Z: \\192.168.135.1\share_linux a123456! /user:chaoqun.guo set bath=c:\backup\ ,,,% set db_name=test set filename=%db_name%%today% path="C:\Program Files\WinRAR" winRAR a %bath%%filename%.rar %bath%%filename%.bak
命令行使用格式:Usage: 7z <command> [<switches>...] <archive_name> [<file_names>...][<@listfiles...>] <Commands> a : Add files to archive b : Benchmark d : Delete files from archive e : Extract files from archive (without using