当前位置:网站首页>The WinRAR command copies the specified folder as a compressed file, and calls the scheduled task for backup.
The WinRAR command copies the specified folder as a compressed file, and calls the scheduled task for backup.
2022-07-19 03:17:00 【yleihj】
1: stay WINDWOS Installation in system WINRAR.
2: Create a new text file , Enter the code "C:\Program Files\WinRAR\Rar.exe" a -agYYYYMMDD-{bak}-NN "e:\Backup\" "d:\123"
3: Save the text file as .bat The end of the batch file .
4: stay E Disk creation Backup Folder .
5: Code interpretation "C:\Program Files\WinRAR\Rar.exe"WINRAR Installation path for .
a Indicates adding compressed files .
-ag Indicates that the compressed file name has been produced on the current date ,YYYYMMDD Represents the format of year month day .
-{bak}- Represents a custom name , Include -bak-
NN Said is 1 Consecutive number at the beginning
"e:\Backup\" "d:\123" Means compression D Discoid 123 Folder to E Discoid Backup In the folder .
6: Executing the batch file shows the following image .

7: Can be in WINDOWS SERVER Call this batch file in the planning task of , Scheduled compressed backups .
边栏推荐
- Data source object management (third-party object resources) & load properties file
- Flutter开发:运行flutter upgrade命令报错Exception:Flutter failed to create a directory at…解决方法
- 05_服务调用Ribbon
- Yolov6 learning first chapter
- [MCU simulation] (XVII) control transfer instructions - call and return instructions
- Visual analysis of ncnn param file and bin model
- It's good to take more exercise
- MySQL面试题(2022)
- Yolov5 ncnn reasoning
- Tools and methods - Excel plug-in xltools
猜你喜欢

4年开发二面美团最终败给:volatile关键字作用和原理这道面试题

Code demonstration of fcos face detection model in openvino

A Youku VIP member account can be used by several people to log in at the same time. How to share multiple people using Youku member accounts?

Bisenetv1 face segmentation

MySQL面试题(2022)

Graphql first acquaintance

乐视还有400多位员工?过着没有老板的神仙日子 官方出来回应了...

Affine transformation implementation

无线用的鉴权代码

C language foundation day4 array
随机推荐
04_服务注册Eureka
Need to slow down a little
关于XML文件(六)-与JSON的区别
MySQL interview questions (2022)
[MCU simulation] (XIX) introduction to assembly, assembly instructions, pseudo instructions
Specifications、多表查询基础
05-中央处理器
【单片机仿真】(九)指令系统 — 算术运算指令 之 ADD、ADDC、SUBB、INC、DEC、DA
D. Permutation restoration (greedy / double pointer /set)
SysTick定时器的基础学习以及手撕代码
多锻炼身体有好处
04_ Service registration Eureka
[PHP] tp6 multi table connection query
Bisenetv2 face segmentation ncnn reasoning
Yolov6 learning first chapter
05 central processing unit
Snapshot: data snapshot (data disclosure method)
自动装配 & 集合注入
CorelDRAW 安装不了解决方法
多表查询——案例练习