Jump to content
LaunchBox Community Forums

Recommended Posts

Posted

I have a full set of Nintendo 64 ROMs that I want to compress in to individual ZIP files to save space. I can only figure out how to add them all at once to a ZIP file. How do I compress each individually without doing it 1 by 1, which would take hours.

Posted

You could create a batch file and run it inside the folder where your roms are located.  If you have 7zip installed, it would look something like this:

for %%i in (*.*) do "C:\Program Files\7-Zip\7z.exe" a "%%~ni.zip" "%%i"

 

  • Thanks 1
Posted (edited)

This is exactly what I needed, thanks! The only thing I changed was telling the batch file to delete the source ROM after compression, to save space.

for %%i in (*.*) do "C:\Program Files\7-Zip\7z.exe" a "%%~ni.zip" "%%i" -sdel
Edited by KingPizza
  • Game On 1
Posted (edited)

Select files, right click, open with WinRAR, settings --> files, tick the box 'put each file in a separate archive', DONE. 

Options --> delete files after archiving

Why mess with command lines?

Edited by DeadVoivod
Posted
4 hours ago, DeadVoivod said:

Select files, right click, open with WinRAR, settings --> files, tick the box 'put each file in a separate archive', DONE. 

Options --> delete files after archiving

Why mess with command lines?

I googled this question for literal hours last night and this was never mentioned. I just tested it and yeah, WinRAR has this feature built in. That saves me a lot of time, thanks.

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...