Zip folder contents only, but do not include the folder itself, from the context menu

Help
Leo
2013-05-14
2013-05-15
  • Leo

    Leo - 2013-05-14

    Apologies if this is either simple or just isn't possible, but I'm stumped, even after looking at command line parameters.

    Basically, what I am trying to do is to click on a folder and have a context menu item that will put the contents of that folder with a certain file type (*.jpg) into a zip file with the name "foldername.zip" (the folder itself must not be in the archive, only the jpgs). As long as I can write the script to do it, I can get it into the context menu, but I have no idea how to pass the name of the current folder to the script.

    Any help appreciated!

     
  • fernando

    fernando - 2013-05-15

    look at...

     7z a "%1" "%1\*.jpg"
    

    see example.txt attached to this forum post.
    context menu .reg similar to above

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks