Lukeyboy67 Posted February 25, 2019 Posted February 25, 2019 I'm using a BB theme that shows game media, tapes, carts etc. I have 1535 Amstrad CPC roms but only 31 tape images. For all the roms missing a tape I want to show this image.... Is there a simple way of doing this? apart from copying and editing each one individually? Cheers Quote
Lukeyboy67 Posted February 25, 2019 Author Posted February 25, 2019 20 minutes ago, DOS76 said: unfortunately there is not. Damn! OK thanks for the reply Quote
JoeViking245 Posted February 26, 2019 Posted February 26, 2019 I'm sure you could make a batch file that can copy your "Generic_Tape.jpg" to each "rom_name.jpg" 'automatically'. Quote
JoeViking245 Posted February 26, 2019 Posted February 26, 2019 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. 1 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.