本文主要是介绍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
这篇关于Windows升级备份的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!