备份脚本(备份成文件夹).bat
@echo off
set dir=ROOT
set tobeBackupDir=%cd%\%dir%
echo -------------------------
echo 待备份目录:%tobeBackupDir%
echo -------------------------
if not exist %tobeBacku...
rem echo offcolor 0a rem Version:backup_was V1.0,had tested on windows 2003rem FUNTION:use rar compress the D:\ErpDataLog& D:\imagesrem IP:10.8.252.23, <ErpDataLog&images>...
删除超过33天的文件
ForFiles /p "G:\Ensky\Jaeger\FATP" /s /d -33 /c "cmd /c del /Q @file"
Pending how to remove empty folder? If add /s after del /Q /S, will delete all the files in subfolder.
同步NT...