7Zip Command Line

    Here are the explanations of the Parameter Options of 7zip’s included console application in Bandizip.

  • Archiving - Compress all of the subdir files to archive.7z.
  •  7z.exe a archive.7z subdir\

  • Archiving excluding certain files - Archive files except *.tmp files.
  •  7z.exe a archive.7z subdir\ -x!*.tmp 

  • Setting a password - The password will be 1234.
  •  7z.exe a archive.7z subdir\ -p1234

  • Extract to destination folder - Extract the file to c:\dest
  •  7z.exe x archive.zip -oc:\dest

    * While installing Bandizip, the file 7z.exe is added automatically to the Environment Variable.