Jump to content
LaunchBox Community Forums

One image for multiple roms....


Lukeyboy67

Recommended Posts

In my oh-so-Joe way, I just had to figure out how to do this. ?

@Echo Off & SetLocal EnableExtensions
pushd D:\temp\roms
For /F "tokens=*" %%I IN ('dir /a-d /b *.cpc') DO (
	copy "D:\temp\generic_tape.jpg" "d:\temp\new\%%~nI.jpg"
)

Line 2:   Change D:\temp\roms to your roms folder location.

Line 3:   Change .cpc to your roms actual file extension. If you have .cpc and .dsk, you'll have to run it twice changing the extension (or copy & paste line 3, 4, 5 and changing the extension respectively).

Line 4:  Change the locations of the image you want to use and where you want to put them. If your image is .png, be sure to change the last .jpg.

 

  • Like 1
  • Unusual Gem 1
Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...