I'm trying to compress multiple separate folders to .zip (whether it be 7zip or PowerShell or tar) as well as being portable (as in the .bat can be anywhere) yes I looked at other posts but none of them is the answer to what I'm trying to do (if it's even possible)
mainfolder
is where the .bat is
before compression
mainfolder
| folder1 | folder .txt .json .png
this is what I want after compression
mainfolder
| folder1.zip | folder .txt .json .png
but what I get is
mainfolder
| folder1.zip | folder1
| folder .txt .json .png
I don't what the folder1
in the .zip
so is it possible to zip it without that other folder?