I've been trying to figure out if it's possible to run a perl script with parameters from a "batch" file so I don't have to type the whole command every time. I tried several things but I can't seem to figure it out. Here's the command. Is it possible to put it into like an executable file or batch file to run if that makes sense? It's a scraper that associates screenshots with games. Any help would be greatly appreciated. Thank you.
perl mameGenXml.pl -rompath /home/pi/mame4all/roms/ -mode mame -extension zip > gamelist.xml