The default ROM directory is discussed in the FAQ section of the MAME website:
http://mamedev.org/devwiki/index.php...sked_Questions
A mame.ini file can be created running the command "mame -createconfig"
If there are any further questions about MAME, I recommend searching for the answer on MAME's website first, as they have fairly good documentation for the program.