Compression using command from Snaplogic

Can i compress a file using a command just like below in Snaplogic ?

a “”+ @[User::ExcelOutboxFileName]+ “.zip” -p@m3xP@sSw0rD “”+ @[User::OutboxFileFullPath]+"""

the above command is to compress the file (7-Zip compressor) and add a password top it and write it to a local machine