---- 以空格爲分隔符,取出data /T命令的第一列 -------------mysql
@echo offsql
for /f "tokens=1" %%t in ('date /T') do set str=%%tdom
echo %str%ide
xcopy /Y /e /I E:\data\mysql\* Z:\bak\%str%spa
----- 產生隨機器 ------------token
@echo offit
set /a var=%random%class
echo e:/%var%date
Pausedi