You probably can't run mydbgen under windows, unless you have some nice funkeh shell-script-to-cscript converter.. so you'll need to type this in a command prompt window:
mysql --user=your_mysql_username --pass your_mysql_db_name < "c:\program files\anope\data\tables.sql"