Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Batch file to delete all horizontal roms  (Read 3667 times)

0 Members and 1 Guest are viewing this topic.

KillerV

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 41
  • Last login:June 10, 2012, 11:38:22 pm
Batch file to delete all horizontal roms
« 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.



abispac

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1625
  • Last login:July 24, 2025, 12:57:01 am
Re: Batch file to delete all horizontal roms
« Reply #1 on: November 08, 2010, 02:34:37 pm »
romlister has a batch file feature for this, give'it a shot....

KillerV

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 41
  • Last login:June 10, 2012, 11:38:22 pm
Re: Batch file to delete all horizontal roms
« Reply #2 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.


KillerV

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 41
  • Last login:June 10, 2012, 11:38:22 pm
Re: Batch file to delete all horizontal roms
« Reply #3 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.

NOP

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 916
  • Last login:September 19, 2017, 08:22:27 pm
  • I stole my avatar.
    • winterMAME

KillerV

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 41
  • Last login:June 10, 2012, 11:38:22 pm

WhereEaglesDare

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1536
  • Last login:March 24, 2014, 08:47:08 pm
  • Shut Off All The Compactors on the Detention Level
    • My HomePage
Re: Batch file to delete all horizontal roms
« Reply #6 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.

abispac

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1625
  • Last login:July 24, 2025, 12:57:01 am
Re: Batch file to delete all horizontal roms
« Reply #7 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

KillerV

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 41
  • Last login:June 10, 2012, 11:38:22 pm
Re: Batch file to delete all horizontal roms
« Reply #8 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!