You want run MameWah as shell? or you want simply autostart MameWah?
For the second solution , i guess the easy way would be to put your .bat in the Startup menu.
For the first one, you have to modify the registry key "Shell" and make it point to your autoexec.bat.
There are threads about that here.