Which one? The -L command is for RetroArch only, and the -skip_gameinfo -nowindow commands aren't necessary to making sure it runs, they just make the experience better.
You put MAME in LaunchBox, make sure that the "Extract Rom Archives before running" is un-checked, put your rom files in the roms folder, the chd folders in the same roms folder. You run the importer and call your platform what ever you want (the default Arcade platform preferred) and make sure that it is Scraped As Arcade no matter what (if you use a non-default platform name).
Going through the importer, you should come across a special screen for the MAME / Arcade importing, if not, press the back button on the wizard in the top right, on this page check the box to force using the MAME Importer (should be the last box, and it will only pop up if LaunchBox doesn't automatically do it for you, which it does automatically based on the platform name).
On the MAME import screen check or uncheck the boxes and settings you want, and you should be good to go.