by
3 6

Compress all files in a folder into individual 7z files

Compress all files in a folder into individual 7z files: 
Compress_individual_files.txt
Copy Embed Code
<iframe id="embedFrame" style="width:600px; height:300px;"
src="https://www.snip2code.com/Embed/757918/Compress-all-files-in-a-folder-into-indi?startLine=0"></iframe>
Click on the embed code to copy it into your clipboard Width Height
Leave empty to retrieve all the content Start End
FOR %i IN (*.*) DO 7z.exe a -m0=LZMA2 -mmt=x "%~ni.7z" "%i" where x = number of cores
If you want to be updated about similar snippets, Sign in and follow our Channels

blog comments powered by Disqus