Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: KillerV on November 08, 2010, 11:23:39 am

Title: Batch file to delete all horizontal roms
Post by: KillerV on November 08, 2010, 11:23:39 am
Hey guys, I'm a DOS ID10T. I have all the MAME roms I want in a folder. They're both horizontal & vertical. I was able to create a txt file with all the horizontal games in my folder. How the heck do I delete just the horizontal roms in that folder? I am thinking a batch file, which I do not know the correct commands. Anyone help? Thanks.


Title: Re: Batch file to delete all horizontal roms
Post by: abispac on November 08, 2010, 02:34:37 pm
romlister has a batch file feature for this, give'it a shot....
Title: Re: Batch file to delete all horizontal roms
Post by: KillerV on November 08, 2010, 02:41:49 pm
romlister has a batch file feature for this, give'it a shot....

Will try that out. Thanks.

Title: Re: Batch file to delete all horizontal roms
Post by: KillerV on November 08, 2010, 04:39:14 pm
Well, all romlister does is create a list file of the vertical games. I already have that. There has to be a way to delete the actual rom files that are not in this list.
Title: Re: Batch file to delete all horizontal roms
Post by: NOP on November 08, 2010, 05:16:09 pm
pssst:
http://wiki.arcadecontrols.com/wiki/RL_tutorial_batchFiles (http://wiki.arcadecontrols.com/wiki/RL_tutorial_batchFiles)

Title: Re: Batch file to delete all horizontal roms
Post by: KillerV on November 08, 2010, 05:33:20 pm
pssst:
http://wiki.arcadecontrols.com/wiki/RL_tutorial_batchFiles (http://wiki.arcadecontrols.com/wiki/RL_tutorial_batchFiles)



Oh, thanks ;)
Title: Re: Batch file to delete all horizontal roms
Post by: WhereEaglesDare on November 08, 2010, 07:45:53 pm
Well, all romlister does is create a list file of the vertical games. I already have that. There has to be a way to delete the actual rom files that are not in this list.

have rom lister move all your non horizontal games to another directory then delete the ones that didnt get moved.  easy.
Title: Re: Batch file to delete all horizontal roms
Post by: abispac on November 09, 2010, 01:08:30 am
Well, all romlister does is create a list file of the vertical games. I already have that. There has to be a way to delete the actual rom files that are not in this list.

have rom lister move all your non horizontal games to another directory then delete the ones that didnt get moved.  easy.
yeap, i was going to say that......the way to do'it its: once you get your roms sorted, you need to save the gamelist as a batch file, name the batch file somenthing like move.bat, run the batch file and like whereeaglesdare says, mmove your roms to a mame directory like c:\mame\roms\vertical
Title: Re: Batch file to delete all horizontal roms
Post by: KillerV on November 09, 2010, 09:04:07 am
Worked like a charm. Excactly what I wanted. It can even make a favorites list based on all kinds of info for my front end. Thanks!