I have the following folder structure
I want to run the 7-zip command line tool to zip up all the files in folder1 to a zip file called
Running the following
7za.exe a -tzip folder1.zip folder1\\*.*
produces a zip file as expected. However, when I open the zip file, it has a folder in it called "folder1", and inside that I have all the files listed. I don't want the folder name added to the zip folder, i.e. add all the files in a "Flat" file format.
I also don't want to recursively run the command line tool for each individual file. Is there a switch that provides this functionality?