ci2own Posted February 2, 2017 Posted February 2, 2017 Hi! I have a folder with lots of files with the same name, but different extension: Game.bin Game.cue Game.xxx Game 2.bin Game 2.cue Game 2.xxx etc. I would like to know if is there any program to batch compress in 7z to create: Game.7z, Game 2.7z., Game 3.7z, etc. Thanks in advance!
ci2own Posted February 3, 2017 Author Posted February 3, 2017 I will answer myself and maybe it helps someone in the future who needs to do the same: If you have a folder with files like this: aaa.cue aaa.bin aaa.ccd aaa.sub bbb.cue bbb.bin bbb.ccd bbb.sub etc. 1) You need to download 7z.exe and 7z.dll and copy to your ROMs dir. 2) Then go to the ROMs dir from the terminal (Type "cmd" from the Start Button to open a terminal). 3) Type the script: FOR %F IN (*.bin) DO 7Z a "%~nF.7z" "%~nF.bin" "%~nF.cue" "%~nF.ccd" "%~nF.sub" Explanation: FOR every 'filename.bin' you DO want 7Z to create an archive 'filename.7z' containing 'filename.bin' , 'filename.cue' , 'filename.ccd' and 'filename.sub' Here is where i found it (Thanks to fernando to explain it): https://sourceforge.net/p/sevenzip/discussion/45797/thread/a7639897/
Recommended Posts
Archived
This topic is now archived and is closed to further replies.