I want something like this:
for [Folder Name1] archive and password protect using this password (123456)
for [Folder Name2] archive and password protect using this password (789456)
for [Folder Name3] archive and password protect using this password (545gfdgf)
and so on…
I’m not technical so I only can copy the command, paste it in .txt, and then change the extension to .bat and run it.
I found this command but it’s not what I wanted:
for /d %%X in (*) do "c:\Program Files\7-Zip\7z.exe" a "%%X.7z" "%%X" -mx=5 –tzip