title: how to write a bat file to execute the .sql file
body: <p>I want to execute a query inside a db.sql file using MySQL 5.1 in the Windows environment. Can any one help me with this? I want to do this by running a .bat file.</p>