I was trying to zip file and secure it with password but I do not know what I am doing wrong.
I call 7z.
C:\Program Files\7-Zip\7zFM.exe a 1.zip 1.txt - p$1$
I was trying also this Bash command
C:\Program Files\7-Zip\7zFM.exe a C:\Users\Trunks\Desktop\test\1.zip C:\Users\Trunks\Desktop\test\1.txt -p$1$
But either way what I get is opened 7z interface within the location of Execution directory.