To restore a MySQL database from the Windows command line, use this command:
mysql -u USERNAME -pPASSWORD DBNAME < d:\path\to\db.sql