@echo off
set year=%date:~0,4%
set month=%date:~5,2%
set day=%date:~8,2%
set hour=%time:~0,2%
set minute=%time:~3,2%
set second=%time:~6,2%
set current=%year%-%month%-%day%-%hour%-%minute%-%second%
@echo on
E:\MYSQLS\MYSQL3305\bin\mysqldump.exe -R -i -h192.168.1.200 --port=3306 -uroot -p dbjs2020 > %current%.sql