2012年4月19日 星期四

7-Zip指令

  • a
    Add:新增壓縮資料
    例:
    有D:\test\a\、D:\test\b\、D:\test\a.txt這些資料,
    僅要壓縮D:\test\a\、D:\test\a.txt,且目錄結構從D:\test\開始以相對路徑加入壓縮檔。
    cd /D D:\test
    7z a c:aa.7z a\* D:\test\a.txt
    
  • b
    Benchmark
  • d
    Delete
  • e
    Extract
  • l
    List
  • t
    Test
  • u
    Update
  • x
    eXtract with full paths
 註:7-Zip安裝完後,在「程式集」->「7-Zip」->開啟「7-Zip Help」說明檔,
裡面的「Command Line Version」->「Commands」即有指令參數使用範例。

沒有留言:

張貼留言