_PhancloudMenu自動備份.bat

Post date: 2012/7/17 上午 02:19:02

echo off

echo PhancloudMenu自動備份~~~

FOR /F "tokens=1-4 delims=/ " %%a IN ("%date%") DO (SET _date_=%%a%%b%%c)

7za a -t7z ".\PhancloudMenuBackup\PhancloudMenuBackup-%_date_%" -bd -p1234 -r C:\c++\phancloud\PhancloudMenu_v8.0\PhancloudMenu_v7.0\IDNumber.h C:\c++\phancloud\PhancloudMenu_v8.0\PhancloudMenu_v7.0\PhancloudMenu.h C:\c++\phancloud\PhancloudMenu_v8.0\PhancloudMenu_v7.0\PhancloudMenu.cpp C:\c++\phancloud\PhancloudMenu_v8.0\PhancloudMenu_v7.0\child

echo 自動備份儲存為:.\PhancloudMenuBackup\PhancloudMenuBackup-%_date_%.7z!

pause