DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Drag+Drop Robot config for 7zip  (Read 13,053 times)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Drag+Drop Robot config for 7zip
« on: February 12, 2014, 02:22 PM »
Just thought i'd share this since i had use for it today.

If you want to use 7-zip to compress a bunch of FOLDERS, each to their own compressed archive, use the following as your commandline:

C:\Program Files\7-Zip\7z.exe a -r "%2.7z" "%2"
or for zip format: C:\Program Files\7-Zip\7z.exe a -r "%2.zip" "%2"

And set your options to "Allow dropped folders" in top right if not already set.


« Last Edit: February 12, 2014, 09:26 PM by mouser »

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,649
    • Participated in NANY Challenge Eleven Times
    • Coding Snacks
    • Linux User
    • Hardware Hacker
Re: Drag+Drop Robot config for 7zip
« Reply #1 on: February 12, 2014, 09:12 PM »
Small typo in the second line? Replace .7z with .zip, IMHO :huh:
Edit: It's corrected.
/Ton
Ath's software collection, Quote: "A problem well stated is a problem half-solved." (Charles Kettering)
« Last Edit: February 13, 2014, 07:59 AM by Ath »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Drag+Drop Robot config for 7zip
« Reply #2 on: February 12, 2014, 09:26 PM »
Quite right, fixed  :up:

Original address: https://www.donationcoder.com/forum/index.php?topic=37229.0