PDA

View Full Version : Question about zipping files


WuGgaRoO
7 Apr 2006, 5:06am
hey whats up guys, im sure there are some of you who remember me
so anyways, im trying to zip a whole bunch of roms but i want each rom to have his own zip file. Since i have liek 800+ roms i don't feel like sitting there and manually adding each to its own zip do does anyone have any idea how someone can select a whole bunch of files and add all the files into their own zip
i was thinking about getting one of those keystroker loggers/ replayers but i dont know where i can get one. Like something that records everything i do keyboad and mouse and remembers it. Then it can duplicate what i just did
well thanks anyways dude
ps
i started folding again earlier today

QCH
7 Apr 2006, 3:17pm
HEY Wuggs.... Your Back!!!! AWESOME. We missed you... Glad your folding too!!!

As for the answer to your question... I think a THIS (http://www.winzip.com/prodpagecl.htm?wzhcli)add-on to Winzip will do it... You create a batch script to read the directory and zip each file...

profdlp
7 Apr 2006, 5:15pm
WuGgsie! Good to see you, man! :D

primesuspect
7 Apr 2006, 5:43pm
WUGGAROO!! :rant:

PLEASE report to THIS THREAD (http://www.short-media.com/forum/showthread.php?t=43065) IMMEDIATELY :mad:

WuGgaRoO
7 Jun 2006, 9:30pm
thats a no-go on the command line addon QCH.... anyoen have any other suggestions?

V|P
8 Jun 2006, 12:05am
Download WinRAR, add all the files you want to archive to it, and in the "files" tab, check in "Put FIles in Seperate Archives"

deicist
8 Jun 2006, 12:06am
Right, this isn't particularly elegant, but I'm drunk and I just spent half an hour working this out so I'm determined to write it out now :)

First download 7-zip from here Linky (http://www.7-zip.org/) and install it.

take the file 7z.exe (this is a standalone console zip utility) from wherever you just installed 7-zip to and put it in the folder with your Roms to be zipped

now, create a batch file (a text file with the extension .bat) in that folder and paste these 3 lines into it:

for %%l in (*.txt) do 7z a %%~nl.zip %%~sl
md zips
move *.zip zips

replace *.txt with the correct extension for the files you want to zip (eg *.* for all files or *.rom or whatever)

save the batch file and run it

you should now get a nice subfolder called 'zips' containing zipped up versions of all your roms.

edit: Damnit SCAR :P