@echo off set "dateYmds=%date:~,4%%date:~5,2%%date:~8,2%" echo "%dateYmd%" "C:Program FilesMySQLMySQL Server 5.6inmysqldump.exe" -uuser -ppassword -h127.0.0.1 databases --extended-insert=false > E:/sql_%dateYmd%.sql @echo on
如果觉得文章对您有用,请点下推荐。您的支持将鼓励我继续创作!