@echo off 
FOR /f %%a IN ('WMIC OS GET LocalDateTime ^| FIND "."') DO SET DTS=%%a
SET date=%DTS:~0,8%-%DTS:~8,6%
C:\softok\mysqldump.exe  --host="127.0.0.1" --user="softoklocal" --password="sma321" magazin > C:\softok\bk\%date%magazin.sql 
exit