Windows升级备份


REM program:用于HTS的Windows机器备份
REM author:sundz	version:V1.0  20220615
@ECHO OFF
title HTS备份
REM YYYYMMDD
SET data_floder=d:/backup/%date:~0,4%%date:~5,2%%date:~8,2%
REM HHMMSS
SET time_stamp=%time:~0,2%%time:~3,2%%time:~6,2%
IF NOT EXIST %data_floder% MD %data_floder%
CD %data_floder%
REM 备份aboss5
MD aboss5
XCOPY d:/HTS/aboss5/bin %data_floder%/aboss5/bin /s/e/i/y
XCOPY d:/HTS/aboss5/cfg %data_floder%/aboss5/cfg /s/e/i/y
XCOPY d:/HTS/aboss5/svc %data_floder%/aboss5/svc /s/e/i/y
REM 备份Qtmanage
MD QTmanage
XCOPY d:/HTS/QTmanage/bin %data_floder%/QTmanage/bin /s/e/i/y
XCOPY d:/HTS/QTmanage/svc %data_floder%/QTmanage/svc /s/e/i/y
REM Aclient
MD Aclient
XCOPY d:/HTS/Aclient/bin %data_floder%/Aclient/bin /s/e/i/y
XCOPY d:/HTS/Aclient/module %data_floder%/Aclient/module /s/e/i/y
REM over
ECHO 备份结束
PAUSE

原创文章,作者:奋斗,如若转载,请注明出处:https://blog.ytso.com/277386.html

(0)
上一篇 2022年7月27日
下一篇 2022年7月27日

相关推荐

发表回复

登录后才能评论