mode con: cols=130 lines=40
OR
mode 130,40
OR
mode 130,40
@ECHO OFF cd C:\xampp\mysql\bin mysql.exe -uroot -hlocalhost -e "drop database if exists some_db_name"; mysql.exe -uroot -hlocalhost -e "create database some_db_name default character set utf8 default collate utf8_general_ci;"; echo DB Created mysql.exe -uroot -hlocalhost some_db_name < "C:\tmp\back_up.sql" echo DB Restored pause exit;
@ECHO OFF cd C:\xampp\mysql\bin mysqldump.exe -uroot -hlocalhost some_db_name > "C:\tmp\back_up.sql" echo DB Backuped mysql.exe -uroot -hlocalhost -e "drop database if exists some_db_name"; echo DB Removed pause exit;