Jump to content

Sega CD Rom Zipping Predicament


shredder

Recommended Posts

Posted

Greetings - Normally i would just try to figure this stuff out on my own, but I have found that it is just easier to reach out for help. I'm trying to get my Sega CD bin/cue's  organized into compressed archives. I used to have a utility that would take the files out of the directory, zip them, place in a separate directory and name them properly.  I can't seem to find that utility. I did this manually with a few, but it's going to take ages and I don't really want to spend the time on it. I've included screenshots to help illustrate what I'm trying to accomplish.Can someone else guide me to a quicker solution?

 

How it is now(_zipped folder is ones that i have done manually):

2017-07-18 10_18_08-Sega CD.png

Here is what the result is in each of the subfolders:

2017-07-18 10_18_40-Bouncers (USA).png

 

Here is how i want it to be, I do not want the folders included, only the files:

2017-07-18 10_19_08-_Zipped.png

Hyperspin Banner.png

Posted

You will need a batch that can do that for you. I think I did this a while ago too. Let me see where I got the batch.

Posted

Found it:

On that thread find this: BatchFolder2zip.bat

If I am not wrong, that should do the work for you. Do a test before doing it.... this will save you a lot of time

Posted

I made the batchfolder2zip file and created a test folder. I can tell the batch file ran due to the blip of code in a command prompt that popped up for a split second, but i don't see any changes. I do have 7zip installed. Can you tell me what I might be doing wrong?

2017-07-18 10_45_44-Test Folder.png

Hyperspin Banner.png

Posted
2 minutes ago, shredder said:

I made the batchfolder2zip file and created a test folder. I can tell the batch file ran due to the blip of code in a command prompt that popped up for a split second, but i don't see any changes. I do have 7zip installed. Can you tell me what I might be doing wrong?

2017-07-18 10_45_44-Test Folder.png

Probably you will have to check where you have installed 7zip.

for /d %%X in (*) do "C:\Program Files (x86)\7-Zip\7z.exe" a "%%X.zip" "./%%X/*"

change c:/program files...... location for 7zip to yours. Edit, save and try again.

Posted
5 minutes ago, badboo said:

Probably you will have to check where you have installed 7zip.


for /d %%X in (*) do "C:\Program Files (x86)\7-Zip\7z.exe" a "%%X.zip" "./%%X/*"

change c:/program files...... location for 7zip to yours. Edit, save and try again.

yes, that was the issue. My 7zip was located at "C:\Program Files". 

*NOTE I was attempting to do this on a nas, which i found will not work. I had to copy the files off the nas, run the script, and copy back. (I am happy to do this since it worked) 
**NOTE DO NOT RUN THIS BATCH AS ADMIN, I cant speak for every instance, but i did it once and got a scary result (i.e. compressing drivers folders and such, not sure why) Running normally worked fine. 

Thank you so much @badboo for the help, this was simple and easy and I think i had been looking for batches like this for a long time. 

Hyperspin Banner.png

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...