@echo off
if exist y: net use y: /delete
net use y: \\192.168.50.36\smb /user:a\smb smb && xcopy /e/d/f "G:\bakup" "y:\U8\" && net use y: /delete
forfiles /p D:\smb\ZT003 /d -45 /c "cmd /c echo @file|findstr [1-9][023456789].$&&rd /s/q @path"
xcopy差异备份
Categories: