当前位置:网站首页>WINRAR命令拷贝指定文件夹为压缩文件,调用计划任务进行备份。
WINRAR命令拷贝指定文件夹为压缩文件,调用计划任务进行备份。
2022-07-17 00:15:00 【yleihj】
1:在WINDWOS系统中安装WINRAR。
2:新建一个文本文件,输入代码"C:\Program Files\WinRAR\Rar.exe" a -agYYYYMMDD-{bak}-NN "e:\Backup\" "d:\123"
3:把文本文件保存为.bat结尾的批处理文件。
4:在E盘建立Backup文件夹。
5:代码解释"C:\Program Files\WinRAR\Rar.exe"WINRAR的安装路径。
a表示添加压缩文件。
-ag表示已当前日期生产压缩文件名,YYYYMMDD表示年月日的格式。
-{bak}-表示自定义的名称,在压缩文件名中包括-bak-
NN表示是1开头的连续号
"e:\Backup\" "d:\123" 表示压缩D盘的123文件夹到E盘的Backup文件夹中。
6:执行批处理文件显示下面图片。

7:可以在WINDOWS SERVER的计划任务中调用这个批处理文件,定时执行压缩备份。
边栏推荐
- [solved] after referring to the local MySQL and forgetting the password, [server] --initialize specified but the data directory has files in it Aborti
- How to do a good job of test case review
- Nmon使用方法
- Project Performance Optimization Practice: solve the white screen problem of the home page, customize the loading animation to optimize the first screen effect
- uni app 微信小程序 点餐系统【再来一单】页面跳转
- Known preorder traversal, preorder traversal, find the sequence traversal of the tree
- Performance test implementation specification Guide
- 树状数组与ST表
- 网络一般知识(详)
- status 500 reading AftersaleService#getAftersaleList(Long)+com. sun. proxy.$ Proxy214.getAftersaleList
猜你喜欢

Sword finger offer 53 - I. find the number I in the sorted array

深入性能测试数据分析

初识阿里云环境搭建:无法远程连接,入过的坑:服务器ping不通,FTP搭建,服务器搭建数据库,远程连接服务器数据库
![[solved] after referring to the local MySQL and forgetting the password, [server] --initialize specified but the data directory has files in it Aborti](/img/a8/2daa2c0d834f1986c8421bf5138c7e.png)
[solved] after referring to the local MySQL and forgetting the password, [server] --initialize specified but the data directory has files in it Aborti

Signal and system experiment
![[unity Editor Extension] unity makes its own exclusive editor panel](/img/67/12a4ab5167d4a5fc2aaba5220c8df9.png)
[unity Editor Extension] unity makes its own exclusive editor panel

Understand HTTP cache in 30 minutes

30分钟搞懂 HTTP 缓存

Project Performance Optimization Practice: solve the white screen problem of the home page, customize the loading animation to optimize the first screen effect

MeterSphere基于JMeter分布式性能压测平台
随机推荐
Longest ascending subsequence - Optimization
最长上升子序列----优化
bugku题解
Sword finger offer 48 The longest substring without repeated characters
2022.6.28-数据库-1.数据库的隔离级别
攻防世界----easytornado笔记
Experience in using flow playback tool Gor
Decentralized edge rendering meta universe protocol cadeus was invited to attend the cbaia 2022 summit to enable more Web3 application scenarios with technology
【瑞吉外卖⑩】Linux 粗略学习 & Redis 粗略学习
SSTI template injection
UE4 notes
MeterSphere基于JMeter分布式性能压测平台
Interview: the difference between interface and abstract class - concise summary
"Visual C # from getting started to mastering" personal learning arrangement
网络层协议和IP数据包的格式(详解)
网络层传输协议(详解)
Network layer protocol and IP packet format (detailed)
Detailed explanation of metauniverse public chain caduceus: a creative platform specially built for metauniverse application
bugku----正则匹配,cookies
Project Performance Optimization Practice: solve the white screen problem of the home page, customize the loading animation to optimize the first screen effect