SOGO論壇

標題: [心得分享] 7-Zip 教學 大家參考看看 [列印本頁]

作者: old2009    時間: 5 天前     標題: [心得分享] 7-Zip 教學 大家參考看看

本文最後由 old2009 於 2025-9-13 16:18 編輯

7-Zip 繁體中文版官方網站

https://www.developershome.com/7-zip/


先介紹7-Zip 工具-選項功能


選項  功能說明





系統




只要按一下 + 符號

就會變成 7z 關聯檔   按一下 檔名會變成 7z
再按一下 就是沒有關聯 空白一片


7-Zip




將 7-Zip整合到快顯功能表中
這個預設軟體不讓你修改  不能修改喔

就是你開啟檔案總管中任一個7z壓縮檔 按右鍵就會顯示了


將 7-Zip整合到快顯功能表中(32位) 這是32位電腦才用得到
這個預設軟體不讓你修改  不能修改喔




串聯式快顯功能表 打勾 的圖示







串聯式快顯功能表 沒有打勾 的圖示







快顯功能表顯示圖示  打勾 的圖示







刪除重複的根目錄






在 7Zip 中,「刪除重覆的根目錄」(或類似描述)通常是解壓縮時的一個選項,用於避免解壓後出現多餘的重複資料夾結構。以下是該功能的詳細說明與操作指南:
使用場景
當壓縮檔的根目錄名稱與你目標解壓路徑的現有資料夾名稱相同時,勾選此選項可自動合併內容,防止多創建一層同名資料夾。  
舉例:  
壓縮檔結構:`MyFolder/file.txt`


目標路徑已存在 `MyFolder` 資料夾。  
   不勾選:解壓後生成 `MyFolder/MyFolder/file.txt`  
   勾選:直接解壓到 `MyFolder/file.txt`,避免重複結構。
操作步驟
1. 開啟 7Zip 並選擇壓縮檔  
   右鍵點擊壓縮檔 > 選擇「7Zip」>「解壓縮檔案...」。
2. 設定解壓路徑  
   在彈窗中選擇目標資料夾(例如 `D:\MyFiles`)。
3. 勾選「刪除重覆的根目錄」  
    在解壓設定視窗中,找到 「複寫」(Overwrite)或 「選項」 區域。  
    勾選類似 「刪除重覆的根目錄」 或 「剔除重複的頂層資料夾」 的選項(不同版本可能用詞略異)。
4. 開始解壓縮  
   確認設定後點擊「確定」,7Zip 會自動處理重複的根目錄結構。
注意事項
合併內容而非覆蓋:此選項僅「合併」同名資料夾下的文件,不會直接覆蓋現有文件(除非你同時啟用覆寫選項)。  
確認結構:解壓前可先預覽壓縮檔內容,確保根目錄是否多餘。  
版本差異:部分舊版 7Zip 可能無此選項,建議更新到最新版本。
替代方法(若無該選項)
若你的 7Zip 版本無此功能,可手動操作:  
1. 解壓縮時指定一個空白臨時資料夾。  
2. 將解壓後的內容手動移動到目標路徑(避免複製整個根目錄)。
透過以上設定,即可有效避免解壓縮時產生冗餘的目錄層次,保持檔案結構簡潔!





傳遞 Zone.ld資料流

當你從網路下載檔案(例如用瀏覽器或郵件下載)時,Windows 會自動在檔案上附加一個 Zone.Identifier 的「交替資料流 (ADS)」。

這是一種 NTFS 檔案系統的功能,可以在不影響主要檔案內容的情況下,為檔案附加額外的隱藏資訊。


在這個 ADS 裡,會記錄檔案來源,例如:



[ZoneTransfer]
ZoneId=3


ZoneId=3 代表「Internet 區域」,所以 Windows 會對檔案顯示「這個檔案來自網路,可能有風險」的安全提示。

和 7-Zip 的關係

當你用 7-Zip 壓縮或解壓縮檔案時,會涉及是否保留這個 Zone.Identifier ADS:

預設情況下,7-Zip 不會自動保留交替資料流,所以解壓後檔案通常不會有「來自網路」的警告。

但新版 7-Zip 提供了一個選項:

「傳遞 Zone.Id 資料流」(英文:Propagate Zone.Id stream)

如果啟用,壓縮檔解開後,檔案會保留原始的 Zone.Identifier,Windows 仍會認為檔案是「網路下載」的,並可能彈出警告。

如果停用,解壓後的檔案就不會帶有 Zone.Identifier,使用上比較方便。

常見應用

安全導向:企業環境可能會啟用這個選項,以確保使用者知道檔案來源(避免隱藏風險)。

一般使用者:通常會關閉,因為保留 Zone.Identifier 會讓 Windows 不斷跳出安全警告。







資料夾 保留預設即可哦! 不必設定

工作資料夾



在 7-Zip 的壓縮/解壓縮選項中,有個 「工作資料夾」(Working folder),它是暫存檔用的資料夾,主要用在 解壓縮過程。

可選的設定值:

系統暫存資料夾

預設值。7-Zip 會使用 Windows 系統的暫存目錄(例如:C:\Users\使用者名稱\AppData\Local\Temp)。

適合大多數情況。

與壓縮檔相同的資料夾

暫存檔會放在壓縮檔所在的位置。

適合沒有太多系統磁碟空間,但壓縮檔所在磁碟空間充足的情況。

指定的資料夾

你可以自己輸入一個路徑,例如 D:\Temp7Zip。

適合大檔案解壓縮時,想用到特定磁碟的空間(例如 D 槽或外接硬碟)。

使用情境舉例:

如果你的 C 槽空間不足,但解壓縮大檔案時又需要暫存空間,可以把工作資料夾設定到 D 槽或其他大容量磁碟。

如果只處理小檔案,其實保持 預設(系統暫存資料夾) 就好。




編輯器

檢視
例如: Notepad++ 軟體   VS Code 軟體



編輯器
例如: Notepad++ 軟體   VS Code 軟體      沒有就不要設定



檔案比較程式
例如: Beyond Compare 軟體    沒有就不要設定







設定

顯示".."項目






顯示實際檔案圖示

7-Zip 的 檔案管理器 (7zFM.exe) 預設只會用它自己的圖示來顯示檔案,並不會顯示 Windows 的「實際檔案圖示」。
這是 7-Zip 的設計,不像 Windows 檔案總管那樣會讀取系統的圖示關聯。



總結:
7-Zip File Manager 沒有內建「顯示實際檔案圖示」的功能。
如果你一定要這樣的效果,建議:

在 Windows 檔案總管直接用右鍵操作,或

改用 NanaZip(7-Zip 的改良版)。








整列選取

沒打勾 可以在 7-Zip  打開程式時  用滑鼠拖曳一個檔案或資料夾的區域








有打勾就不行用



顯示格線







單擊開啟項目

通常我們都習慣雙擊滑鼠






使用替代選擇模式

其實是 7-Zip 檔案總管 (7-Zip File Manager) 裡的一個設定。

功能說明:
在 7-Zip 的檔案總管中,檔案選取方式會依 Windows 版本或使用者習慣不同而有差異。

預設模式:跟 Windows Explorer 類似,按住 Ctrl 可多選,按住 Shift 可連續選。

替代選擇模式:選取方式會改變,特別是針對「滑鼠拖曳選取」和「滑鼠點擊」的行為。

一般差異:

在「替代模式」下,用滑鼠左鍵點選檔案時,行為更接近舊版 Windows / Norton Commander 風格。

不用 Ctrl 也可以多選,點擊可直接切換檔案的選取狀態。

適合習慣 DOS/舊式檔案管理器的人。

開啟方法:

打開 7-Zip 檔案總管

功能表列選 工具 (Tools) → 選項 (Options)

切換到 設定 (Settings) 頁籤

勾選 使用替代選擇模式 (Use alternative selection mode)

按下確定即可







顯示系統選單




功能解釋

在 7-Zip 檔案管理器中,通常你右鍵點檔案或資料夾,會看到 7-Zip 自己的選單(例如「壓縮」、「解壓縮到...」)。

如果選擇 「顯示系統選單」,7-Zip 會呼叫 Windows 檔案總管的右鍵選單,也就是你在 Explorer 裡右鍵會看到的功能(像「剪下、複製、傳送到、內容」等)。





使用大記憶體分頁

這個不要設了 記憶體分頁 會影響系統


允許用來解壓縮的最大記憶體容量

這個也不要設了 用預設即可







7-Zip 功能很強大 實在太多了 講不完  所以挑重點作說明

我有省略一下比較難懂的部分 就這部分了 <Switches>



在搜尋列 輸入cmd 以系統管理員身份執行

然後先將路徑指向 這裡


C:\Windows\system32>cd\

C:\>cd Program Files

C:\Program Files>cd 7-Zip

C:\Program Files\7-Zip >




在此路徑 輸入 7-Zip 命令(指令)


C:\Program Files\7-Zip >7z -h


看這部分 要以微軟的 cmd 命令為準

<Switches>
  -- : Stop switches and @listfile parsing
  -ai[r[-|0]][m[-|2]][w[-]]{@listfile|!wildcard} : Include archives 綠色命令在這
  -ax[r[-|0]][m[-|2]][w[-]]{@listfile|!wildcard} : eXclude archives
  -ao{a|s|t|u} : set Overwrite mode
  -an : disable archive_name field
  -bb[0-3] : set output log level
  -bd : disable progress indicator
  -bs{o|e|p}{0|1|2} : set output stream for output/error/progress line
  -bt : show execution time statistics
  -i[r[-|0]][m[-|2]][w[-]]{@listfile|!wildcard} : Include filenames
  -m{Parameters} : set compression Method
    -mmt[N] : set number of CPU threads
    -mx[N] : set compression level: -mx1 (fastest) ... -mx9 (ultra)
  -o{Directory} : set Output directory
  -p{Password} : set Password
  -r[-|0] : Recurse subdirectories for name search
  -sa{a|e|s} : set Archive name mode
  -scc{UTF-8|WIN|DOS} : set charset for console input/output
  -scs{UTF-8|UTF-16LE|UTF-16BE|WIN|DOS|{id}} : set charset for list files
  -scrc[CRC32|CRC64|SHA256|SHA1|XXH64|*] : set hash function for x, e, h commands
  -sdel : delete files after compression
  -seml[.] : send archive by email
  -sfx[{name}] : Create SFX archive
  -si[{name}] : read data from stdin
  -slp : set Large Pages mode
  -slt : show technical information for l (List) command
  -snh : store hard links as links
  -snl : store symbolic links as links
  -sni : store NT security information
  -sns[-] : store NTFS alternate streams
  -so : write data to stdout
  -spd : disable wildcard matching for file names
  -spe : eliminate duplication of root folder for extract command
  -spf[2] : use fully qualified file paths
  -ssc[-] : set sensitive case mode
  -sse : stop archive creating, if it can't open some input file
  -ssp : do not change Last Access Time of source files while archiving
  -ssw : compress shared files
  -stl : set archive timestamp from the most recently modified file
  -stm{HexMask} : set CPU thread affinity mask (hexadecimal number)
  -stx{Type} : exclude archive type
  -t{Type} : Set type of archive
  -u[-][p#][q#][r#][x#][y#][z#][!newArchiveName] : Update options
  -v{Size}[b|k|m|g] : Create volumes
  -w[{path}] : assign Work directory. Empty path means a temporary directory
  -x[r[-|0]][m[-|2]][w[-]]{@listfile|!wildcard} : eXclude filenames
  -y : assume Yes on all queries









打開 Windows10/11 開始


看到 7-Zip 說明檔 將它打開






找到 Switches    這部分比較難懂且不常用 所以我省略了 不作教學











如果大家對它感興趣 可以用Windows10/11 微軟的AI   Copilot 都能找到解答喔!

或者用 chatgpt  AI  https://chatgpt.com/



只要輸入這句話 看上面的命令說明 綠色命令在這  我用綠色 標示

7-Zip -ai[r[-|0]][m[-|2]][w[-]]{@listfile|!wildcard} : Include archives 教學  

AI 都會幫你解答喔!


大家注意 要用上面的命令找  用微軟 cmd 命令找喔!
看這部分 要以微軟的 cmd 命令為準




.................................................................................


7-Zip 壓縮軟體  它的唯一缺點 就是沒有修復壓縮檔的功能

WinRAR 或者 Bandizip及WinZip 都有修復壓縮檔的功能



一般人都不想花錢買 WinRAR 或者 Bandizip 及WinZip等壓縮軟體   

你可以選擇免費又強大功能的 7-Zip 壓縮軟體    你用看看就知道它的強大功能唷!

雖然 Windows 11 巳支援  但我還是覺得安裝7-Zip 壓縮軟體 會比較好 功能超多的 你不用嗎?



Windows 11 已經原生支援解壓縮rar 和7z 檔案,不需要額外安裝第三方軟體,像是WinRAR 或7-Zip。

雖然Windows 11 已經支援,但部分用戶反應在處理加密的RAR 和7z 檔案時,可能遇到一問題,例如無法輸入密碼或解壓縮錯誤。





7-Zip 使用方法

7-Zip 能夠測量 CPU 的資料壓縮和解壓縮速度


我的筆電是 第 6 代 Intel® Core™ i5 處理器   I5-6200U

巳經是老古董的 CPU 看到這麼低的數據  讓大家見笑了 哈哈~







換算網站 https://www.convertworld.com/zh-hant/frequency/

例如: Intel® Core™ i9-13900K 處理器 5.80 GHz

這個只是推估 我也說不準的 哈哈
1T 單執行緒時脈高達5000 表示你的CPU等級高

2T 2執行緒達到4000   表示你的CPU等級高

4T 4執行緒達到4000   表示你的CPU等級高

如果三個數據(壓縮 解壓縮 整體評等) 都有100GIPS以上 表示你的CPU等級高


在 7-Zip 的基準測試中,GIPS 是 "Giga Instructions Per Second"(每秒十億指令) 的縮寫,用來衡量 CPU 在壓縮或解壓縮任務中的執行效率。
GIPS 越高,代表該處理器在執行 7-Zip 的壓縮演算法(如 LZMA)時越快。

GIPS 每秒執行的指令數,反映 CPU 的運算能力




操作方法:

打開7-Zip 程式





.......................................................................................................



7-Zip 本身沒有修復壓縮檔的功能

要借助 WinRAR 來修復副檔名為.zip檔, WinRAR也可以用來修復損壞的-副檔名為.zip檔


打開 WinRAR程式:















但副檔名為.7z 檔案 就沒辦法了 只能重新下載檔案 或重新壓縮檔案

也可以試試看 用cmd 命令   (但不保證修得好)

用cmd 命令 來修復 7-Zip檔    修復副檔名是 .7z 的檔


例如: E槽 低下的 raw.7z檔  解壓縮 到 E槽的7z資料夾底下(你要自己先新建 7z資料夾)


首先 在搜尋列 輸入 cmd 以系統管理員身份執行

然後先將路徑指向 這裡

C:\Windows\system32>cd\

C:\>cd Program Files

C:\Program Files>cd 7-Zip

C:\Program Files\7-Zip>

C:\Program Files\7-Zip>7z x e:\raw.7z -oe:\7z   

-oe 中間不能有空格喔!  7z x <損壞的檔案> -o<輸出目錄>





7-Zip 可以自學

打開 7-Zip 程式 找說明檔









7-Zip 使用教學












功能介紹:

1.        壓縮檔案格式 : 選 7z及 zip 這二種常用的
2.        壓縮層級: 如果檔案很大 幾G 以上 選 9-極致壓縮  檔案不大 選 5-一般壓縮
差別在壓縮的速度(時間)
3.        壓縮方法:1. LZMA2   2. LZMA   3.PPMd   4.BZip2
你可以只用LZMA2 這個選擇是最棒的!

Deflate 演算法:
這是7-zip 中使用的基本壓縮演算法之一,它是一種無損資料壓縮演算法,常用於ZIP 格式和gzip 格式。

增強版Deflate (Deflate64):
這是對傳統Deflate 的一種擴展,主要改進在於更大的字典大小,允許它更好地壓縮重複的數據模式,從而獲得更高的壓縮率。


LZMA2 在壓縮效率上優於 LZMA,可以達到更高的壓縮比,這意味著文件可以被壓縮得更小
LZMA2 兼容多种操作系统和平台,包括Windows、macOS 和Linux。
LZMA2 能夠充分利用多核處理器的優勢,通過多線程並行壓縮和解壓縮來提升性能。

LZMA 高壓縮比:
LZMA 能夠以較小的檔案大小儲存資料,相較於傳統的壓縮演算法(如ZIP或RAR),它通常
能提供更好的壓縮率。
多執行緒支援:
LZMA 支援多執行緒,這有助於提高壓縮和解壓縮的效率,尤其是在多核心處理器上。




PPMD 主要特點:

文本壓縮優化:
PPMd 專為壓縮基於文本的檔案而設計,例如程式碼、日誌文件等。

預測模型:
PPMd 使用預測模型來估計下一個字元的可能性,從而提高壓縮效率。

BZip2:
BZip2 是一種基於Burrows-Wheeler 變換的資料壓縮演算法,以其高壓縮比和對稱性而聞名,適合用於壓縮大型檔案或資料集。


4.        字典大小
   
在7-Zip 中,字典大小的設定會影響壓縮效果和速度,通常在壓縮大型檔案時,較大的字典大小可以提高壓縮率,但同時也會增加壓縮所需的時間和記憶體。 反之,較小的字典大小會降低壓縮率,但會加快壓縮速度,並減少記憶體使用量。 調整字典大小的步驟如下:

較小的字典大小(例如4MB 或8MB): 適用於壓縮小文件或追求快速壓縮的場景。
較大的字典大小(例如128MB 或256MB): 適用於壓縮大型檔案,可以提高壓縮率,但會增加壓縮時間和記憶體消耗。


5.字組大小

如何選擇
- 對於大檔案(>100 MB)、重複度高的數據,建議
- 字組大小32 KB,甚至128 KB∽1 MB
- 對於日常文檔、小型圖片、或內存受限環境,建議
- 字組大小16 KB


6.結實區塊大小

如何選擇區塊大小
- 資料特性
- 同質、小檔案多:建議使用較大的結實區塊(≥256 MB)以提高壓縮率
- 大單一檔案或隨解壓需求高:可關閉或使用小區塊(≤32 MB)以加快個別檔案存取

- 系統資源
- 可用記憶體不足時,過大結實區塊會增加壓縮/解壓的記憶體需求

- 效能 vs. 壓縮率
- 區塊越大,壓縮率提升空間越高,但壓縮/解壓速度與記憶體成本也同步增加
- 建議先嘗試常見選項(16 MB、64 MB、256 MB),透過小批量測試比較最適組合


7.CPU 線程數

在搜尋列 輸入 cmd  以系統管理員身份執行

輸入 wmic 再輸入 cpu get NumberOfLogicalProcessors

就會顯示 電腦CPU 線程數


……………………………………………………………………………………………………
8.壓縮時記憶體使用

7z 格式通常比zip 格式需要更多的記憶體,但能提供更高的壓縮比。

較高的壓縮級別(例如7-Zip 的極限壓縮)會需要更多的記憶體來處理和優化壓縮

7-Zip 會根據系統的可用記憶體來調整記憶體分配,如果系統記憶體不足,可能會影響壓縮速度或導致失敗。


建議:

如果您的電腦記憶體有限,可以嘗試使用較低的壓縮等級或較小的壓縮檔案,以減少記憶體的使用。

如果需要壓縮大型檔案,建議確保有足夠的可用記憶體,或者分批壓縮檔案。
7-Zip 也提供了設定記憶體限制的選項,可以根據實際情況調整。

……………………………………………………………………………………………………..



分割壓縮檔 使用方法

有時候我們要用 E-mail郵件軟體 寄附件檔  

每個軟體附件檔 限制的檔案大小不同喔! 超過限制就無法寄出 E-mail

可以使用7-Zip 將檔案分割成多個較小的檔案,然後再將這些分割檔案分別郵寄

這時候就要用 7-Zip 分割壓縮檔

例如:我在 E:\raw  檔案總共大小是 22.6M

你可以直接輸入 5M  檔案大小









7-Zip 它會分割5個檔案 (E:\raw  檔案總共大小是 22.6M     用5M去分割檔案)
會分割成這些檔案   raw.7z raw.7z.002 raw.7z.003 raw.7z.004 raw.7z.005

在 raw.7z  按右鍵--內容









你可以分別寄出 raw.7z raw.7z.002 raw.7z.003 raw.7z.004 raw.7z.005

對方只要將這些檔 放在同一個資料夾   只要用7-Zip 解壓縮第一個檔 raw.7z

即可解壓縮全部的檔







如果你是要燒錄到 CD 或 DVD
你可以選擇

650M-CD
700M-CD

4480M-DVD
8128M-DVD DL






....................................................................................................









打開7-Zip 程式 在說明--內容  打開說明檔  找到 Switches -m 部分  在Zip 及 7-Zip
看參數設定
















我這邊先講的是 Zip 壓縮檔的參數設定


X=9 0不壓縮 5默認的壓縮等級 9最大壓縮等級









...............................................................................................................................

m=LZMA m={MethodID} 壓縮設定方法:複製、Deflate(資料壓縮演算法)、Deflate64(資料
壓縮演算法64)、BZip2、LZMA、PPMd。

官方說法: m={MethodID} Deflate Sets a method: Copy, Deflate, Deflate64, BZip2, LZMA, PPMd.






..............................................................................................................................

fb=32  32(預設值)   3 到 255 範圍   編碼器的單詞大小






...........................................................................................................................


Zip檔
Pass=1~15
pass=預設值是1 Deflate 編碼器的通過次數。通過次數範圍為 1 到 15  

BZip2
pass=1~10
設定傳遞次數。可以設置在1到10的範圍內。正常模式的預設值為1,最大模式為2,超級模式為7。更大的數字可以提供稍微更好的壓縮比,但會使壓縮過程變得較慢。



...........................................................................................................

字典大小: 只能用 Zip檔
d={Size}[b|k|m]  d=900000b[ bytes (位元組)]  d=262144k   d=256m      
設置 LZMA 壓縮演算法的字典大小。您可以使用 bytes (位元組)、KB 或 MB 來指定此項。字典大小的最大值為 256 MB=2^28 位元組。正常模式下,LZMA 的字典大小預設值為 21(2 MB) ;最大模式(-mx=7)下為 23(8 MB);極限模式(-mx=9)下為 25(32 MB)。如果您未指定 [b|k|m] 項,字典大小將自動根據壓縮等級來選擇相應的單位。對於 LZMA 演算法的檔解壓縮,若壓縮檔的字典大小為 64 MB,則解壓縮時就需要 64 兆可用的實體記憶體。
d = {}尺寸並[b | K | M]
設置 BZip2 的字典大小。 您必須以位元組,千位元組或百萬位元元組為單位指定大小。 字典大小的最大值是 900000b。 如果未指定 set [b | k | m]中的任何符號,則字典大小將計算為 DictionarySize = 2 ^ Size 位元組。





................................................................................................................

Zip
mem={Size}[b|k|m] 預設值是24 設置 PPMd 使用的內存大小。

最大值為256MB = 2^28字節 默認值為24(16MB)如果您不指定符號集[b|k|m]中的任何符號,則記憶體大小將計算為(2^大小)字節。PPMd在壓縮和解壓縮時使用相同的記憶體量。

mem=16m m=PPMd   (sets size of used memory for PPMd)





..........................................................................................................

Zip檔

o=10 m=PPMd    sets model order for PPMd  (設置 PPMd 的模型順序。大小必須在 [2,16] 範圍內。預設值為 8。)與 m 開關一起使用



..........................................................................................................

mt=on   預設是 on  關閉 off  sets multithreading mode(設置多線程模式)





.....................................................................................................

預設值 ZipCrypto  

設置一種加密方法:ZipCrypto、AES256





........................................................................................................

Zip檔

cl=on   預設是 off   7-zip  始終使用本地代碼頁來處理檔案名稱

The 7-Zip command-line switch cl=off disables the use of local code page for file names, while cu=on enables UTF-8 encoding for file names that contain non-ASCII symbols. The default behavior is that 7-Zip uses UTF-8 encoding only for file names containing non-ASCII symbols unless cl=off or cu=on are specified.

7-Zip 命令行開關 cl=off 禁止對檔名使用本地代碼頁[(PS:输入chcp回车是查询cmd当前的编码格式(字碼頁)],(本地代碼頁是指計算機系統為支持不同語言和字符集而使用的特定

編碼方案。它通常用於處理文本數據,確保計算機能夠正確地顯示和處理各種字符,包括字母、數字、符號以及不同語言的文字。)





.................................................................................................

cu=on  預設 off  7-zip uses UTF-8 for file names that contain non-ASCII symbols (而 cu=on 對包含非 ASCII 符號的檔名啟用 UTF-8 編碼。 默認行為是 7-Zip 僅對包含非 ASCII 符號的檔名使用 UTF-8 編碼)





...............................................................................................

cp=950
cp={Code Page} 預設 off     sets code page   設置代碼頁

cmd輸入chcp

C:\Windows\system32>chcp
使用中的字碼頁: 950

編碼格式950,也稱為Code Page 950,是Microsoft用於繁體中文的字符集標準。打開cmd 輸入chcp 65001,顯示Active code page: 65001就代表轉換成功。原理就是把cmd中默認的936(簡體中文)切換為65001(UTF-8)。





.....................................................................................................


tm=on   預設 on   儲存檔案的最後修改時間戳記

tc=off  預設 off  存儲檔案的創建時間戳

ta=off  預設 off  儲存檔案的最後存取時間戳記


tp=0 tp=1 tp=2 tp=3
tp=N   預設 0  Sets timestamp precision:0 -Windows (100ns),1 -unix(1sec),2 -Dos(Sec).3-Windows (100 ns)     設置時間戳精度:0 -Windows(100納秒),1 -unix(1秒),2 -Dos(秒),3 -Windows(100納秒)

時間戳精度指的是時間戳能精確到多小的時間單位。 它表示時間戳能分辨的最小時間間隔。 時間戳精度越高,表示能表示的時間單位越小,能更精確地記錄和表示時間。

Windows 和Unix 系统的时间戳精度有所不同。 Windows 使用FILETIME 结构,以100 纳秒为单位,而Unix 系统通常使用秒或毫秒作为时间戳的精度



精度(Resolution)

| 系統 | 精度 |
| Unix | 秒(早期)→ 微秒/納秒(現代系統)
| Windows | 100 奈秒(以 FILETIME 表示)
| DOS | 約 2 秒(FAT 檔案系統的時間戳)









..........................................................................

前面都是講 Zip壓縮檔格式

不要搞錯了喔!




這邊是 7-Zip 壓縮檔格式的 參數設定唷!

x=[0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 ] 預設值是5          設置壓縮等級。
Sets level of compression.





........................................................................................

yx=[0 | 1 | 3 | 5 | 7 | 9 ] 預設值是5  設置檔案分析的級別。

在 7-zip 中,“檔案分析等級”由壓縮等級設定控制,範圍從 1 到 9,其中 1 是最快的,但壓縮較低,9 是最慢的,但壓縮比最高。較高的等級提供更好的壓縮,但以增加處理時間為代價。






........................................................................................


yv={MMNN}
sets decoder compatibility version for archive creation.

{MMNN} is 4-digit number that represents the version of 7-Zip without a dot.

If "yv" switch is not specified, default value 2300 is used.

If "yv" switch is used without "={MMNN}" version number, there is no restiction for allowed filter methods. So "yv" switch is similar to "yv=9999".

When 7-Zip creates 7z archive, it uses only compression methods and compression filters that are allowed by specified version of 7-Zip.


The list of new Filter methods that were supported by new versions of 7-Zip, and that are not supported by older versions:

yv={MMNN}設定解碼器相容性版本以進行檔案壓縮。{MMNN} 為 4 位數字,表示 7-Zip 的版本,不包含小數點。如果未指定 "yv" 參數,則使用預設值 2300。如果使用 "yv" 參數但未指定 "={MMNN}" 版本號,則對允許的過濾方法沒有限制。因此,"yv" 參數類似於 "yv=9999"。當 7-Zip 創建 7z 檔案時,它僅使用由指定版本的 7-Zip 允許的壓縮方法和壓縮過濾器。支持新版本 7-Zip 的新過濾方法列表,且不被舊版本支持:




yv={MMNN}  預設值是2300  設置解碼器兼容性版本






..................................................................................................

7-Zip 壓縮軟體 中的參數 yv={MMNN},其預設值為 2300,是用來設置解碼器的兼容性版本(Decoder compatibility version)。這是在使用 7-Zip 壓縮時,針對 .7z 檔案格式進行高級控制的進階參數。

yv={MMNN} 是什麼意思?
這個參數通常出現在 7z 格式的壓縮器選項中,表示壓縮時要設置的最小解碼器版本。格式:
•  MM:主版本號(Major)
•  NN:次版本號(Minor)



例如:
•  yv=2300 → 對應版本 23.00(即 7-Zip 23.00)
•  yv=2201 → 對應版本 22.01
為什麼要設置這個參數?
設定 yv 可以讓你確保壓縮後的 .7z 檔案能夠被某個特定版本或以上的解壓軟體所解壓。如果你壓縮的檔案使用了新版本壓縮算法,舊版本的 7-Zip 就無法解壓。
例如:
•        如果你使用的是 7-Zip 24.00 壓縮,並使用了新算法,舊的 21.00 解壓器可能無法解開。
•        設定 yv=2100,表示你希望這個壓縮檔可以被 7-Zip 21.00 或更新版本所解壓,壓縮時會限制算法兼容性。
•        如何使用 yv?
•        這個參數通常要透過 命令列(CLI) 或是 在某些 GUI 高級選項中來設置。例如:
•       
命令列範例(使用 7z.exe):


建議值
解碼器兼容性版本        對應 7-Zip 版本        適用情境
2300 (預設)        7-Zip 23.00        最新版本,支援全部功能
2100        7-Zip 21.00        兼容較舊系統
1900        7-Zip 19.00        老舊系統相容性更好,但壓縮率可能較低

小結
    yv={MMNN} 是設定壓縮檔案要能被哪個版本以後的 7-Zip 解壓。
    預設是 2300(表示需要 7-Zip 23.00 或以上才能解壓)。
    若你要讓檔案能在老版本 7-Zip 解開,可改為 yv=2100 或更早。
    設定方式可透過 CLI 的 -mvy= 參數。





yfa={FilterID}
allows 7-Zip to use the specified filter method for 7z archive creating. FilterID can be: Delta, BCJ, BCJ2, ARM64, ARM, ARMT, RISCV, IA64, PPC, SPARC. Multiple switches are allowed. Note: "yfa" switch has higher priority than "yv" switch. So "yfa={FilterID}" switch can enable filter that is not al-lowed by "yv={MMNN}" switch value.
允許 7-Zip 在創建 7z 壓縮檔時使用指定的過濾方法。FilterID 可以是:Delta、BCJ、BCJ2、ARM64、ARM、ARMT、RISCV、IA64、PPC、SPARC。允許使用多個開關。注意:"yfa" 開關的優先級高於 "yv" 開關。因此,"yfa={FilterID}" 開關可以啟用 "yv={MMNN}" 開關值不允許的過濾器。
•  Delta:
•        用於處理差異化壓縮。這意味著它會壓縮兩個相似的檔案,僅保存它們之間的差異部分。
•  BCJ:
•        BCJ(Branch/Call/Jump)是用於處理某些指令集的壓縮方法。它專門用於壓縮 x86 和 x86-64 的程式碼,主要是通過將跳躍指令轉換為相對位置來提高壓縮效率。
•  BCJ2:
•        BCJ2 是 BCJ 的改進版,支持更多的指令集。它用於壓縮不同架構下的程式碼,特別是 x86 和 x86-64 等。
•  ARM64:
•        專門針對 ARM 架構的 64 位處理器(如 ARMv8+)設計的壓縮過濾器。這種過濾器會根據 ARM64 指令集的特性進行優化。
•  ARM:
•        針對 32 位的 ARM 處理器(如 ARMv7 和以前版本)進行優化的壓縮過濾器。
•  ARMT:
•        ARMT 是 ARM 處理器的一個變體,可能是針對某些特定 ARM 架構的修改版本。這通常出現在針對某些特定 ARM 版本的優化中。
•  RISCV:
•        針對開放源碼的 RISC-V 架構進行壓縮的過濾器。RISC-V 是一個開放的指令集架構,在嵌入式系統和新興硬體中越來越受歡迎。
•  IA64:
•        IA64 是指英特爾的 Itanium 架構,這是一種 64 位處理器架構,專門為高性能計算設計。此過濾器用於壓縮 IA64 指令集的程式碼。
•  PPC:
•        PPC 代表 PowerPC,是一種由 IBM 和其他公司開發的處理器架構,曾經在許多蘋果的舊型號中使用。這個過濾器會專門針對 PowerPC 指令集進行壓縮。
•  SPARC:
•        SPARC 是由 Sun Microsystems 開發的另一種處理器架構,主要用於工作站和伺服器。SPARC 過濾器將針對這種架構進行優化


Examples:   範例
yfa=RISCV
allow 7-Zip to use RISCV filter for archive creation.  允許7-Zip使用RISCV過濾器創建檔案。






...............................................................................................................

yfa={FilterID} 允許 7-Zip 使用指定的過濾方法。 Allow 7-Zip to use the specified filter method.

{FilterID}:是要啟用的過濾方法的 ID 或名稱。






yfd={FilterID}
disallows 7-Zip to use the specified filter method for 7z archive creating. FilterID can be: Delta, BCJ, BCJ2, ARM64, ARM, ARMT, RISCV, IA64, PPC, SPARC. Multiple switches are allowed. Note: "yfd" switch has higher priority than "yv" and "yfa" switches.
Examples:
yfd=ARM64 yfd=RISCV  禁止 7-Zip 在創建檔案時使用 ARM64 和 RISCV 過濾器。
yfd=BCJ2  禁止 7-Zip 在創建檔案時使用 BCJ2 濾鏡。





...................................................................................................

memuse=[ p{N_Percents} | {N}b | {N}k | {N}m | {N}g | {N}t]
Sets a limit on memory usage (RAM) for compressing and decompressing commands.
Default memory limits are 80% from RAM size for compressing and 53% for decompressing.
7-Zip tries to fit in specified memory limits by changing the number of working threads, if the number of threads was not specified in command. If 7-Zip cannot fit in specified memory limit, 7-Zip still exe-cutes the command.






...............................................................................................................................

為壓縮和解壓縮命令設置內存使用(RAM)的限制。默認的內存限制為壓縮內存使用的80%和解壓縮內存使用的53%。7-Zip會通過更改工作線程數量來適應指定的內存限制,如果命令中未指定線程數量。如果7-Zip無法適應指定的內存限制,7-Zip仍會執行該命令。
Example: 範例
memuse=p60
set the limit for memory usage to 60% of RAM size.  將記憶體使用上限設置為 RAM 大小的 60%.






......................................................................................................................

memuse=14g
set the limit for memory usage to 14 GiB. 將記憶體使用限制設為14 GiB。




................................................................................................................

s=[off | on | [e] [{N}f] [{N}b | {N}k | {N}m | {N}g | {N}t]]
Enables or disables solid mode. The default mode is s=on. In solid mode, files are grouped together. Usually, compressing in solid mode improves the compression ratio.

啟用或禁用固實模式。默認模式為 s=on。在固實模式下,文件被分組在一起。通常,在固實模式下壓縮可以提高壓縮比。





...................................................................................................................

e Use a separate solid block for each new file extension. You need to use qs option also. 對於每個新的檔案擴展名,使用一個單獨的固實區塊。你還需要使用 qs 選項 qs=on     參數設 s=e qs=on  qs在後面 底下 有說明 請放心




..............................................................................................................

依副檔名分組:同副檔名的檔案打包在同一固實區塊內,不同類型檔案之間不共用壓縮字典,可兼顧壓縮率與存取速度。





{N}f Set the limit for number of files in one solid block 設定一個固實區塊中的文件數量限制

設置固體模式,對於 7z 格式的每個固實區塊限制 100 個文件和 256 MB。

依檔案數量分塊:每 N 個檔案為一固實區塊,例如 100f 表示每100個檔案重新開始一個新區塊。

100 files

100f






................................................................................................................


{N}b | {N}k | {N}m | {N}g | {N}t Set a limit for the total size of a solid block in bytes / KiB / MiB / GiB / TiB. 設置固實區塊的總大小限制,以位元組 b / KiB / MiB / GiB / TiB 為單位。

The default solid block size depends on the compression method and the dictionary size. The default dictionary size depends on the compression level.
The default solid block size for all methods other than LZMA2 (LZMA, PPMD, BZIP2, Deflate, De-flate64) is caluclated by the formula:

默認的固實區塊大小取決於壓縮方法和字典大小。默認字典大小取決於壓縮級別。對於所有方法(除LZMA2外,LZMA、PPMD、BZIP2、Deflate、De-flate64),默認的固實區塊大小是通過以下公式計算的:




The default solid block size for LZMA2 method: LZMA2方法的預設固實區塊大小






.......................................................................................................................

NOTE: if LZMA2 is used, 7-Zip can split data into chunks and then it compresses those chunks simultaneously using multiple CPU threads. By default, there are 64 chunks in a solid block. LZMA2 encoder uses about 2 CPU threads per chunk at compression level 5 or higher. So by default LZMA2 encoder can use up to 128 CPU threads for compression, if CPU supports such number of threads. 7-Zip doesn't compress several solid blocks simultaneously to the 7z ar-chive. Thus, multitreading is provided only within a solid block of the 7z archive. If solid block is large, then there are more chunks in solid block, and LZMA encoder and decoder can use more cpu threads for compression and decompression.
注意:如果使用 LZMA2,7-Zip 可以將數據分割成多個區塊,然後同時使用多個 CPU 執行緒壓縮這些區塊。默認情況下,固實區塊中有 64 個區塊。在壓縮等級 5 或更高級別,LZMA2 編碼器大約使用每個區塊 2 個 CPU 執行緒。因此,根據默認設定,LZMA2 編碼器可以在 CPU 支持這麼多執行緒的情況下,使用最多 128 個 CPU 執行緒進行壓縮。7-Zip 不會同時壓縮多個固實區塊到 7z 壓縮檔案中。因此,多執行緒僅在 7z 壓縮檔案的一個固實區塊內提供。如果固實區塊很大,那麼固實區塊中會有更多的區塊,LZMA 編碼器和解碼器可以使用更多的 CPU 執行緒進行壓縮和解壓。



Limitation of the solid block size usually decreases compression ratio but gives the following advantages:
固實區塊大小的限制通常會降低壓縮比,但帶來以下優勢:

•        it reduces data loss in case of future archive damage.  它減少未來檔案損壞時的數據損失
•        it reduces extraction time of a group of files (or just one file), so long as the group doesn't contain the entire archive.  它減少一組文件(或僅一個文件)的提取時間,只要該組不包含整個檔案。
           
Example: 範例
s=100f16g









....................................................................................................

set solid mode with 100 files & 256 MB limits per one solid block for 7z format.
qs=[off | on]
Enables or disables sorting files by type in solid archives. The default mode is qs=off.
Old versions of 7-Zip (before version 15.06) used file sorting "by type" ("by extension").
New versions of 7-Zip (starting from version 15.06) support two sorting orders:
•        qs- : sorting by name : it's default order.
•        qs : sorting by type (by file extension).










...................................................................................................

在固實壓縮檔案中啟用或禁用按類型排序檔案。默認模式為qs=off。舊版本的7-Zip(在15.06版本之前)使用按類型(按副檔名)排序檔案。新的7-Zip版本(從15.06版本開始)支持兩種排序順序:qs- : 按名稱排序:這是默認順序。qs : 按類型排序(按檔案副檔名)。


You can get big difference in compression ratio for different sorting methods, if dictionary size is smaller than total size of files. If there are similar files in different folders, the sorting "by type" can provide better compression ratio in some cases.
Note that sorting "by type" has some drawbacks. For example, NTFS volumes use sorting or-der "by name", so if an archive uses another sorting, then the speed of some operations for files with unusual order can fall on HDD devices (HDDs have low speed for "seek" operations).

設置固體模式,對於 7z 格式的每個固實區塊限制 100 個文件和 256 MB。qs=[off | on]啟用或禁用在固體檔案中按類型排序文件。默認模式為 qs=off。舊版本的 7-Zip(在 15.06 版本之前)使用按類型(按擴展名)排序文件。新版本的 7-Zip(從 15.06 版本開始)支持兩種排序方式: qs- : 按名稱排序 : 這是默認排序。 qs : 按類型排序(按文件擴展名)。如果字典大小小於文件的總大小,則對於不同的排序方法,你可以獲得壓縮比的巨大差異。如果在不同文件夾中有相似的文件,則按類型排序在某些情況下可以提供更好的壓縮比。請注意,按類型排序有一些缺點。例如,NTFS 卷使用按名稱的排序順序,因此如果壓縮文件使用其他排序,則對於具有不尋常排序的文件,一些操作的速度可能會在 HDD 設備上下降(HDD 在尋找操作上速度較慢)。
If "qs" mode provides much better compression ratio than default "qs-" mode, you still can in-crease compression ratio for "qs-" mode by increasing of dictionary size.
If you think that unusual file order is not problem for you, and if better compression ratio with small dictionary is more important for you, use "qs" mode.
如果 "qs" 模式提供的壓縮比比默認的 "qs-" 模式好得多,您仍然可以透過增加字典大小來提高 "qs-" 模式的壓縮比。如果您認為不尋常的文件順序對您來說不是問題,而且如果小字典下更好的壓縮比對您來說更重要,那麼請使用 "qs" 模式。


Note: There are some files (for example, executable files), that are compressed with additional filter. 7-Zip can't use different compression methods in one solid block, so 7-zip can create several groups of files that don't follow "by name" order in "qs-" mode, but files inside each group are still sorted by name in "qs-" mode.

注意:有些文件(例如,可執行文件)使用附加過濾器進行壓縮。7-Zip 無法在一個固實區塊中使用不同的壓縮方法,因此在 "qs-" 模式下,7-Zip 可以創建幾組不按 "名稱" 排序的文件,但每組內的文件仍然按照 "qs-" 模式以名稱排序。


f=[off | on | FilterID]
Enables or disables compression filters. The default mode is f=on, when 7-zip uses filter for some files: executables files (dll, exe, ocx, sfx, sys) and wav files. for x86 executables it can use BCJ2 filter in Ultra (x9) mode and BCJ filter in other modes. If f=FilterID if specified, 7-zip uses specified filter for all files. FilterID can be: Delta:{N}, BCJ, BCJ2, ARM64, ARM, ARMT, RISCV, IA64, PPC, SPARC.

啟用或禁用壓縮過濾器。默認模式為 f=on,此時 7-zip 會對某些文件使用過濾器:可執行文件(dll、exe、ocx、sfx、sys)和 wav 文件。對於 x86 可執行文件,它可以在超級(x9)模式下使用 BCJ2 過濾器,在其他模式下使用 BCJ 過濾器。如果指定了 f=FilterID,7-zip 將對所有文件使用指定的過濾器。FilterID 可以是:Delta:{N}、BCJ、BCJ2、ARM64、ARM、ARMT、RISCV、IA64、PPC、SPARC。






...........................................................................................

hc=[off | on]
Enables or disables archive header compressing. The default mode is hc=on. If archive header compressing is enabled, the archive header will be compressed with LZMA method.

啟用或禁用檔案標頭壓縮。默認模式為 hc=on。如果啟用檔案標頭壓縮,檔案標頭將使用 LZMA 方法進行壓縮。
hc=on 用預設即可

he=[off | on]
Enables or disables archive header encryption.
The default mode is he=off (archive header encryption is disabled).
The archive header contains metadata of the stored files (file names, file sizes, timestamps, at-tributes) and other additional archive metadata information.
If archive header encryption option is disabled (he=off), the archive header will be stored without encryption. If archive header encryption option is enabled (he=on), and a password is specified (-p switch on the command line or the password entered in the "Password" field in the GUI), then both file data and headers will be encrypted.

啟用或禁用存檔標頭加密。默認模式是 he=off(存檔標頭加密被禁用)。存檔標頭包含存儲文件的元數據(文件名稱、文件大小、時間戳、屬性)以及其他附加的存檔元數據信息。如果禁用存檔標頭加密選項(he=off),則存檔標頭將以未加密的方式存儲。如果啟用存檔標頭加密選項(he=on),並且指定了密碼(命令行中的 -p 開關或在 GUI 的「密碼」欄位中輸入的密碼),則文件數據和標頭將都會被加密。
首先 在搜尋列 輸入 cmd 以系統管理員身份執行

然後先將路徑指向 這裡



C:\Windows\system32>cd\

C:\>cd Program Files

C:\Program Files>cd 7-Zip

C:\Program Files\7-Zip>   

7-Zip所在的程式檔 底下有一個 7z.exe 執行檔 就是用它來執行命令的

在這下 cmd 命令  -m(啟用加密檔案頭) -p加密  設密碼為 cyn

C:\Program Files\7-Zip>7z a -pcyn -mhe=on e:\bc\s.7z e:\raw
在路徑 輸入這行即可  7z a -pcyn -mhe=on e:\bc\s.7z e:\raw


b{C1}[s{S1}]:{C2}[s{S2}]
Binds output stream S1 in coder C1 with input stream S2 in coder C2. If stream number is not specified, stream with number 0 will be used.
Usally coder has one input stream and one output stream. In 7z some coders can have multiple input and output streams.
For example, BCJ2 encoder has one input stream and four output streams.

將輸出流 S1 在編碼器 C1 中與輸入流 S2 在編碼器 C2 中綁定。如果未指定流號,將使用編號為 0 的流。通常編碼器有一個輸入流和一個輸出流。在 7z 中,一些編碼器可以具有多個輸入和輸出流。例如,BCJ2 編碼器有一個輸入流和四個輸出流。





................................................................................................

首先 在搜尋列 輸入 cmd 以系統管理員身份執行

然後先將路徑指向 這裡



C:\Windows\system32>cd\

C:\>cd Program Files

C:\Program Files>cd 7-Zip

C:\Program Files\7-Zip>
以命令輸入
C:\Program Files\7-Zip>7z b 1 s32:4 s64  s字典大小





結果

7-Zip 24.09 (x64) : Copyright (c) 1999-2024 Igor Pavlov : 2024-11-29

Compiler:  MSC 1400.140040310
Windows 10.0 19045
x64 6.4E03 threads:4 128TB f:1F110F2774C
Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz
(406E3 : Intel64 Family 6 Model 78 Stepping 3) (C6->CC) 2400 MHz

1T CPU Freq (MHz):  1432  2308  2590  2597  2673  2674  2658
2T CPU Freq (MHz): 197% 2576   200% 2569
4T CPU Freq (MHz): 384% 2417   378% 2325

RAM size:   12180 MB,  # CPU hardware threads:   4
RAM usage:    889 MB,  # Benchmark threads:      4

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:      10441   293   3469  10157  |     135310   378   3052  11544
23:       9750   305   3253   9934  |     127004   360   3052  10990
24:       7455   269   2979   8016  |     123990   358   3036  10881
25:       8139   286   3249   9293  |     123258   353   3109  10970
----------------------------------  | ------------------------------
Avr:      8946   288   3237   9350  |     127391   362   3062  11096
Tot:             325   3150  10223








mt=[off | on | {N}]
Sets multithread mode. If you have a multiprocessor or multicore system, you can get a in-crease with this switch. 7-Zip supports multithread mode only for LZMA / LZMA2 compres-sion and BZip2 compression / decompression. If you specify {N}, for example mt=4, 7-Zip tries to use 4 threads. LZMA compression uses only 2 threads.

設置多執行緒模式。如果您擁有多處理器或多核心系統,您可以通過此開關獲得增益。7-Zip 僅支持 LZMA / LZMA2 壓縮和 BZip2 壓縮 / 解壓縮的多執行緒模式。如果您指定 {N},例如 mt=4,7-Zip 嘗試使用 4 個執行緒。LZMA 壓縮僅使用 2 個執行緒.
在搜尋列 輸入 cmd 以系統管理員身份執行  
輸入 wmic  再輸入cpu get NumberOfLogicalProcessors  就可以看到你的執行緒是幾個

C:\Windows\system32>wmic
wmic:root\cli>cpu get NumberOfLogicalProcessors


NumberOfLogicalProcessors
4 (4 個執行緒) 我的電腦是4個執行緒

參數設 mt=4





............................................................................................

mtf=[off | on] 預設是on

Set multithreading mode for filters. 為過濾器設置多線程模式(電腦有幾個執行緒)。


mtf=on mt=4







...........................................................................................................




tm=[off | on] 預設是on

Stores last Modified timestamps for files. 儲存檔案的最後修改時間戳記。


tc=[off | on] 預設是off  

Stores Creation timestamps for files. 儲存檔案的創建時間戳。


ta=[off | on] 預設是off  儲存檔案的最後訪問時間戳。


tr=[off | on] 預設是on  存儲文件屬性。
{N}={MethodID}[:param1][:param2][..]    param參數
例子:{N}={MethodID} 格式
1. 選擇壓縮方法(-m0)
•        {N}:m0
•        {MethodID}:壓縮方法,例如 LZMA、LZMA2、PPMD、BZIP2 等。
•        這個選項告訴7-Zip選擇使用某種壓縮方法來進行文件壓縮。例如:
7z a archive.7z *.txt -m0=LZMA

2. 設定解壓方法(-m1)
在某些情況下,你也可以指定解壓縮方法,或者是用於不同的壓縮檔案的解壓方式。這通常是在一些特定的解壓或檔案處理操作中使用。
如果解壓一個 .tar 壓縮文件:
7z x archive.tar -m1=Copy



這裡是一些常見的 {ParamName}={ParamValue} 參數及其說明:
1. 壓縮方法 (-m0)
•        ParamName:m0
•        ParamValue:壓縮方法名稱,例如 LZMA、LZMA2、PPMD 等。
-m0=LZMA2

2. 壓縮級別 (-mx)
•        ParamName:mx
•        ParamValue:壓縮級別,範圍從 0(無壓縮)到 9(最大壓縮)
3. 加密 (-p)
•        ParamName:p
•        ParamValue:密碼。如果設置了密碼,7-Zip將加密文件。
4. 分卷壓縮 (-v)
•        ParamName:v
•        ParamValue:每個分卷的大小,例如 10m 表示每個分卷 10MB。
壓縮文件格式 (-t)
•        ParamName:t
•        ParamValue:壓縮格式(例如 7z, zip, tar 等)。
6. 文件名模式 (-r)
•        ParamName:r
•        ParamValue:用來指定是否遞歸子文件夾。
7. 忽略檔案選項 (-x)
•        ParamName:x
•        ParamValue:排除某些文件或文件夾,例如排除 .log 文件。
8. 設定壓縮模式為存儲 (-ms)
•        ParamName:ms
•        ParamValue:指定存儲模式(不壓縮),on 或 off。




Sets compression method. You can use any number of methods. The default method is LZMA2.

{ParamName}={ParamValue}.
{ParamName}{ParamValue}, if {ParamValue} is number and {ParamName} doesn't contain numbers.
Supported methods:

設置壓縮方法。您可以使用任意數量的方法。默認方法是 LZMA2。{ParamName}={ParamValue}。{ParamName}{ParamValue},如果 {ParamValue} 是數字而 {ParamName} 不包含數字。支持的方法:


C:\Program Files\7-Zip>7z a -t7z -mx=9 -m0=LZMA e:\raw
-mx=9 使用最高壓縮等級 -m0=LZMA 選擇 LZMA 壓縮方法



結構詳解:-m{N}={MethodID}[:param1][:param2]...

元件說明
{N}壓縮流程中的方法序號(例如012)

MethodID 壓縮或過濾方法的名稱(如LZMA PPMd BCJ BCJ2 BZip2 Deflate
Copy

[:paramX]該方法的参數·例如字典大小、快速字元數、上下文位元等




Supported methods: 支援的方法:

MethodID Description
LZMA     LZ-based algorithm
LZMA2    LZMA-based algorithm
PPMd     Dmitry Shkarin's PPMdH with small changes
BZip2    BWT algorithm
Deflate  LZ+Huffman
Copy     No compression



Supported filters: 支援的過濾器:



MethodID        Description
Delta
Delta filter
BCJ        converter for x86 executables
BCJ2
converter for x86 executables (version 2)
ARM64        converter for ARM64 (little endian) executables
ARM        converter for ARM (little endian) executables
ARMT        converter for ARM Thumb (little endian) executa-bles
RISCV        converter for RISC-V executables
IA64        converter for IA-64 executables
PPC        converter for PowerPC (big endian) executables
SPARC        converter for SPARC executables


Filters increase the compression ratio for some types of files. Filters must be used with one of the compression method (for example, BCJ + LZMA).

過濾器提高了某些類型文件的壓縮比。過濾器必須與某種壓縮方法一起使用(例如,BCJ + LZMA)。
LZMA
LZMA is an algorithm based on Lempel-Ziv algorithm. It provides very fast decompression (about 10-20 times faster than compression). Memory requirements for compression and de-compression also are different (see d={Size}[b|k|m|g] switch for details).
LZMALZMA 是基於 Lempel-Ziv 算法的算法。它提供非常快速的解壓縮(大約比壓縮快 10-20 倍)。壓縮和解壓縮的內存需求也不同(詳情請參見 d={Size}[b|k|m|g] 參數)。

d={Size}[b|k|m|g]
Sets Dictionary size for LZMA. You must specify the size in bytes, kilobytes, or megabytes. The maximum value for dictionary size is 3840 MiB (4 GB), but 32-bit version of 7-Zip allows to specify up to 128 MB dictionary. Default dictionary size values for LZMA in 64-bit 7-Zip are 25 (32 MB) in normal mode (-mx=5), 27 (128 MB) in maximum mode (-mx=7) and 28 (256 MB) in ultra mode (-mx=9). The default dictionary size for 32-bit 7-Zip does not exceed 64 MB. If you do not specify any symbol from the set [b|k|m|g], the dictionary size will be cal-culated as DictionarySize = 2^Size bytes. For decompressing a file compressed by LZMA method with dictionary size N, you need about N bytes of memory (RAM) available.

d={Size}[b|k|m|g]設置 LZMA 的字典大小。您必須以字節、千字節或兆字節指定大小。字典大小的最大值為 3840 MiB (4 GB),但 32 位版本的 7-Zip 允許指定最多 128 MB 的字典。在 64 位 7-Zip 中,LZMA 的默認字典大小值在正常模式下 (-mx=5) 為 25 (32 MB),在最大模式下 (-mx=7) 為 27 (128 MB),在超級模式下 (-mx=9) 為 28 (256 MB)。32 位 7-Zip 的默認字典大小不超過 64 MB。如果您不指定任何符號來自於[b|k|m|g]的集合,則字典大小將計算為 DictionarySize = 2^Size 字節。對於使用字典大小 N 的 LZMA 方法壓縮的文件進行解壓時,您需要大約 N 字節的內存 (RAM) 可用。
d={Size}[b|k|m|g]  d={Size}[b|k|m]  d=900000b d=262144k  d=256m  
d=900000{Size}b= d=900000b
Parameter        De-fault        Description
a=[0|1]
1        Sets compressing mode
d={Size}[b|k|m|g]
25        Sets Dictionary size
mf={MF_ID}
bt4        Sets Match Finder
fb={N}
32        Sets number of Fast Bytes
mc={N}
32        Sets Number of Cycles for Match Finder
lc={N}
3        Sets number of Literal Context bits - [0, 8]
lp={N}
0        Sets number of Literal Pos bits - [0, 4]
pb={N}
2        Set number of Pos Bits - [0, 4]



................................................................................................


a=[0|1]
Sets compression mode: 0 = fast, 1 = normal. Default value is 1.
設置壓縮模式:0 = 快速,1 = 正常。默認值為1。
a=1





...................................................................................................


d={Size}[b|k|m|g]
Sets Dictionary size for LZMA. You must specify the size in bytes, kilobytes, or megabytes. The maximum value for dictionary size is 3840 MiB (4 GB), but 32-bit version of 7-Zip allows to specify up to 128 MB dictionary. Default dictionary size values for LZMA in 64-bit 7-Zip are 25 (32 MB) in normal mode (-mx=5), 27 (128 MB) in maximum mode (-mx=7) and 28 (256 MB) in ultra mode (-mx=9). The default dictionary size for 32-bit 7-Zip does not exceed 64 MB. If you do not specify any symbol from the set [b|k|m|g], the dictionary size will be cal-culated as DictionarySize = 2^Size bytes. For decompressing a file compressed by LZMA method with dictionary size N, you need about N bytes of memory (RAM) available.
設置 LZMA 的字典大小。您必須以位元組、千位元組或百萬位元組指定大小。字典大小的最大值為 3840 MiB(4 GB),但 32 位元版本的 7-Zip 允許指定最多 128 MB 的字典。64 位元 7-Zip 中 LZMA 的默認字典大小值在正常模式下(-mx=5)為 25(32 MB),在最大模式下(-mx=7)為 27(128 MB),在超高模式下(-mx=9)為 28(256 MB)。32 位元 7-Zip 的默認字典大小不超過 64 MB。如果您未指定集合中的任何符號 [b|k|m|g],則字典大小將按字典大小 = 2^大小位元組計算。要解壓縮使用字典大小 N 進行壓縮的 LZMA 方法的文件,您需要大約 N 位元組的可用內存(RAM)。
64 位元 7-Zip 中 LZMA 在最大模式下(128 MB)     -m0=LZMA d=128m 字典大小值






...............................................................................................


mf={MF_ID}
Sets Match Finder for LZMA. Default method is bt4. Algorithms from hc* group don't provide a good compression ratio, but they often work pretty fast in combination with fast mode (a=0). Memory requirements depend on dictionary size (parameter "d" in table below).
      為 LZMA 設定匹配查找器。預設方法為 bt4。hc* 組的算法雖然不提供良好的壓縮比,但在與快速模式(a=0)結合使用時通常運行得相當快。內存需求取決於字典大小(下表中的參數 "d")。
      
      
       -m0=LZMA mf(匹配查找器)=bt4







...........................................................................................................


MF_ID        Dictionary        Memory Us-age        Description
bt2                9.5 * d        + 4 MB        Binary Tree        2 bytes hashing
bt3                11.5 * d                        3 bytes hashing
bt4
bt5        64 KB ... 48 MB        11.5 * d                        4/5 bytes hash-ing
        64 MB ... 1024 MB        10.5 * d                       
hc4
hc5        64 KB ... 48 MB        7.5 * d                Hash Chain        
        64 MB ... 1024 MB        6.5 * d                       
Note: Your operation system also needs some amount of physical memory for internal purpos-es. So keep at least 32MB of physical memory unused.


fb={N}
Sets number of fast bytes for LZMA. It can be in the range from 5 to 273. The default value is 32 for normal mode and 64 for maximum and ultra modes. Usually, a big number gives a little bit better compression ratio and slower compression process.
為LZMA設置快速字元的數量。其範圍可以在5到273之間。默認值為正常模式下的32和最大及超級模式下的64。通常,大數字會帶來稍微更好的壓縮率,但壓縮過程也會變慢。
-m0=LZMA fb=64


mc={N}
Sets number of cycles (passes) for match finder. It can be in range from 0 to 1000000000. De-fault value is (16 + number_of_fast_bytes / 2) for BT* match finders and (8 + num-ber_of_fast_bytes / 4) for HC4 match finder. If you specify mc=0, LZMA will use default val-ue. Usually, a big number gives a little bit better compression ratio and slower compression process. For example, mf=HC4 and mc=10000 can provide almost the same compression ratio as mf=BT4.
設置匹配查找器的循環次數(通過數)。範圍可以從 0 到 1000000000。對於 BT* 匹配查找器的預設值為 (16 + fast_bytes 數量 / 2),對於 HC4 匹配查找器的預設值為 (8 + fast_bytes 數量 / 4)。如果您指定 mc=0,則 LZMA 將使用預設值。通常,較大的數字會提供稍微更好的壓縮比,但壓縮過程會較慢。例如,mf=HC4 和 mc=10000 的壓縮比幾乎可以與
當你設置 mc=0 時,實際上是讓 LZMA 使用 bt4 作為匹配查找器,這是其 預設配置。
bt4 Dictionary字典大小 64 KB ... 48 MB 記憶體使用 11.5 * d  + 4 MB

                                

lc={N}
Sets the number of literal context bits (high bits of previous literal). It can be in range from 0 to 8. Default value is 3. Sometimes lc=4 gives gain for big files
設置字面上下文位元的數量(前一個字面的高位元)。範圍可以從 0 到 8。預設值為 3。有時 lc=4 對於大型檔案有所增益。
lc=8


lp={N}
Sets the number of literal pos bits (low bits of current position for literals). It can be in the range from 0 to 4. The default value is 0. The lp switch is intended for periodical data when the period is equal to 2^value (where lp=value). For example, for 32-bit (4 bytes) periodical data you can use lp=2. Often it's better to set lc=0, if you change lp switch.
設定字面位置位元的數量(當前位置的低位元,用於字面量)。它的範圍可以從0到4。默認值為0。lp開關是針對週期性資料而設計的,當週期等於2^value(其中lp=value)。例如,對於32位(4字節)週期性資料,您可以使用lp=2。通常,如果您改變lp開關,最好將lc設為0。
1p=0


pb={N}
Sets the number of pos bits (low bits of current position). It can be in the range from 0 to 4. The default value is 2. The pb switch is intended for periodical data when the period is equal 2^value (where lp=value).

設置位置的位數(當前位置的低位)。其範圍可以從 0 到 4。默認值為 2。pb 開關是為了週期性數據,當週期等於 2^value 時(其中 lp=value)。
      Pb=4
      
在 7-Zip 中的應用:
•        當某些參數設置為「2^value」時,這些參數的值會是 2 的某個次方,這樣的設置常見於需要使用二進位(binary)數字的算法中,因為計算機系統的設計(特別是內存管理)更適合處理這樣的數值。

假設在 7-Zip 的壓縮設置中有一個參數 DictionarySize,並且這個參數的設置選項是基於 2 的冪次方 的,比如:
•        DictionarySize = 2^19 表示字典大小為 2^19 = 524288 字節,也就是 512KB。
•        DictionarySize = 2^21 表示字典大小為 2^21 = 2097152 字節,也就是 2MB。



LZMA2
LZMA2 is modified version of LZMA. it provides the following advantages over LZMA:
•        Better compression ratio for data than can't be compressed. LZMA2 can store such blocks of data in uncompressed form. Also it decompresses such data faster.
•        Better multithreading support. If you compress big file, LZMA2 can split that file to chunks and compress these chunks in multiple threads.
LZMA2 是 LZMA 的修改版本。它提供了以下對 LZMA 的優勢:對於無法壓縮的數據,具有更好的壓縮比。LZMA2 可以將這些數據塊以未壓縮的形式存儲,並且對這些數據的解壓速度更快。 更好的多線程支持。如果您壓縮大型文件,LZMA2 可以將該文件分割成幾個塊,並在多個線程中壓縮這些塊。
•  c:這是設置字典大小的參數。
•  {Size}:是字典的大小數值。
•  [b|k|m|g]:這是字典大小的單位,分別代表:




Parameter        Default              Description
c={Size}[b|k|m|g]
   dictSize * 4        Sets Chunk size


DictSize 每個壓縮的數據塊
               
如果你設置 dictSize 為 32MB,那麼:
每個壓縮塊的大小將會是:32MB * 4 = 128MB。
這意味著每個壓縮的數據塊大小會是 128MB

為什麼要設置這個參數:
•        壓縮效果:使用更大的字典和塊大小通常可以提高壓縮率,特別是對於大文件來說,這樣可以更好地利用數據的重複性來壓縮。
•        性能考量:較大的字典和塊大小可能會增加內存需求,並且在某些情況下會讓壓縮或解壓的速度變慢,尤其是在內存不足的情況下。

什麼是 Chunk Size?
•        Chunk:就是一個數據塊,每次壓縮算法處理的單位。LZMA2 壓縮算法會把大的文件分割成多個小塊進行壓縮。
•        Chunk Size:指每個壓縮塊的大小。這個大小決定了壓縮過程中每次壓縮的範圍,對應於如何將數據分割進行處理。

If you don't specify ChunkSize, default ChunkSize is caluclated by the formula:
ChunkSize = max(DictionarySize, min(256M, max(1M, DictionarySize * 4)))


假設 DictionarySize = 512KB:
1.        DictionarySize * 4:
512KB * 4 = 2048KB = 2MB
2.        max(1M, 2MB):
2MB 比 1MB 大,所以選擇 2MB。
3.        min(256M, 2MB):
2MB 小於 256MB,所以選擇 2MB。
4.        max(512KB, 2MB):
2MB 比 512KB 大,所以最終選擇 2MB。
因此,最終的 ChunkSize 是 2MB。




   
LZMA2 also supports all LZMA parameters, but lp+lc cannot be larger than 4.
LZMA2 uses: 1 thread for each chunk in x1 and x3 modes; and 2 threads for each chunk in x5, x7 and x9 modes. If LZMA2 is set to use only such number of threads required for one chunk, it doesn't split stream to chunks. So you can get different compression ratio for different num-ber of threads. You can get the best compression ratio, when you use 1 or 2 threads.

LZMA2也支持所有LZMA參數,但lp+lc的值不能大於4(lc=4 對於大型檔案有所增益
1p=0)。LZMA2在x1和x3模式下每個塊使用1個線程;在x5、x7和x9模式下每個塊使用2個線程。如果LZMA2設置為僅使用單個塊所需的線程數,它將不會將流拆分為塊。因此,您可以根據不同的線程數獲得不同的壓縮比。當您使用1或2個線程時,可以獲得最佳的壓縮比。
•  -m0=LZMA2:選擇 LZMA2 壓縮算法。
•  -c={Size}[b|k|m|g]:設置壓縮字典的大小。
•  dictSize * 4:表示 LZMA2 實際上會使用字典大小的四倍內存來進行壓縮。






PPMd
PPMd is a PPM-based algorithm. This algorithm is mostly based on Dmitry Shkarin's PPMdH source code. PPMd provides very good compression ratio for plain text files. There is no dif-ference between compression speed and decompression speed. Memory requirements for compression and decompression also are the same.

PPMd是一種基於PPM的算法。該算法主要基於Dmitry Shkarin的PPMdH源代碼。PPMd對於純文本文件提供了非常好的壓縮比。壓縮速度和解壓縮速度之間沒有差異。壓縮和解壓縮的內存需求也相同。


Parameter        De-fault        Description
mem={Size}[b|k|m|g]
24        Sets size of used memory for PPMd.
o={Size}
6        Sets model order for PPMd.

mem={Size}[b|k|m|g]:設置 PPMd 使用的內存大小。
o={Size}:設置 PPMd 的字典大小

Sets the size of memory used for PPMd. You must specify the size in bytes, kilobytes, or meg-abytes. The maximum value is 2GB = 2^31 bytes. The default value is 24 (16MB). If you do not specify any symbol from the set [b|k|m|g], the memory size will be calculated as (2^Size) bytes. PPMd uses the same amount of memory for compression and decompression.

設置 PPMd 使用的記憶體大小。您必須以字節、千字節或兆字節指定大小。最大值為 2GB = 2^31 字節。預設值為 24(16MB)。如果您未指定集 [b|k|m|g] 中的任何符號,則記憶體大小將計算為 (2^Size) 字節。PPMd 在壓縮和解壓縮時使用相同量的記憶體。
o={Size}
Sets the model order for PPMd. The size must be in the range [2,32]. The default value is 6.

o={大小} 設定PPMd的模型順序。大小必須在[2,32]範圍內。預設值為6。

XZ
XZ supports only LZMA2 codec now. The switches are similar to switches for 7z format.
XZ 目前只支持 LZMA2 編解碼器。這些開關與 7z 格式的開關類似。
XZ 是一種基於 LZMA2 算法的壓縮格式,它與 .tar.xz 等檔案格式經常搭配使用,廣泛應用於 Linux 等系統。
這裡將介紹如何在 7-Zip 中使用 XZ 壓縮格式以及一些有用的參數。


Parameter         De-fault         Description
x=[1 | 3 | 5 | 7 | 9 ]         5         Sets level of compression
f=FilterID                 Sets compression filter. FilterID: Delta:{N}, BCJ, ARM64, ARM, ARMT, RISCV, IA64, PPC, SPARC
{N}={MethodID}[:param1][:param2][..]        LZMA2         Sets compression method: LZMA2:[param1]:[param2]:[...]
mt=[off | on | {N}]         on         Sets multithreading mode
s=[off | on | [{N}b | {N}k | {N}m | {N}g | {N}t]]
off         Sets solid mode.
s=[off | on | [{N}b | {N}k | {N}m | {N}g | {N}t]]
Enables or disables solid mode. The default mode is s=off. In solid mode, there is only one block per file or stream.
{N}b | {N}k | {N}m | {N}g        Set a limit for the total size of a solid block in bytes
If size of solid block is not specified, the default value of solid block size will be calculated, The default solid block size depends on the dictionary size. The default dictionary size de-pends on the compression level.
The default solid block size is caluclated by the formula:
        SolidBlockSize_xz = max(DictionarySize, min(256M, max(1M, DictionarySize * 4)))
啟用或禁用固體模式。默認模式為 s=off。在固體模式下,每個文件或流僅有一個區塊。{N}b | {N}k | {N}m | {N}g 設置固體區塊的總大小限制(字節)。如果未指定固體區塊的大小,將計算默認的固體區塊大小,默認的固體區塊大小取決於字典大小。默認字典大小取決於壓縮級別。默認固體區塊大小的計算公式為:SolidBlockSize_xz = max(DictionarySize, min(256M, max(1M, DictionarySize * 4)))






字典大小
dictionary_size
       
預設固實區塊大小
Default solid block size
       
smaller than 256 KB        1 MB
256 KB - 64 MB         dictionary_size * 4
64 MB - 256 MB         256 MB
larger than 256 MB         dictionary_size
block size must be equal or large than dictionary size.
If you use multiple blocks:
•        the compression ratio with small blocks usually is worse.
區塊大小必須等於或大於字典大小。如果您使用多個區塊: 通常小區塊的壓縮比會較差。
•        blocks are independent. So losses in case of data damage is limited only to damaged blocks.
•        it's possible to extract some particular block of data faster.
•        there is index record at the end of xz stream that contains information about position and size of each block.
•        • 區塊是獨立的。因此,數據損壞的損失僅限於受損的區塊。• 可以更快地提取某個特定的數據區塊。• 在 xz 流的末尾有索引記錄,包含有關每個區塊的位置和大小的信息。

Note: xz uses: 1 thread for each block in x1 and x3 modes; and 2 threads for each block in x5, x7 and x9 modes. If xz is set to use only such number of threads required for one block, it doesn't split stream to blocks. So you can get different compression ratio for different number of threads. You can get the best compression ratio, when you use 1 thread (for x1 and x3 modes) or 2 threads (for x5, x7 and x9 modes).
Note: each xz block contains LZMA2 stream of data. And LZMA2 also can be divided to in-dependent blocks (chunks). The difference between xz blocks and LZMA2 blocks, that each xz block contains also checksum (crc or sha), and there is index record at the end of xz stream that points to each xz block. 7-Zip by default uses xz blocks. But it's possible to specify the mode when it will use one xz block, and multiple LZMA2 blocks instead.

注意:xz 在 x1 和 x3 模式下,對於每個區塊使用 1 條執行緒;在 x5、x7 和 x9 模式下,對於每個區塊使用 2 條執行緒。如果 xz 被設置為僅使用每個區塊所需的執行緒數,它不會將流切割為區塊。因此,您可以根據執行緒數獲得不同的壓縮比。當您使用 1 條執行緒(對於 x1 和 x3 模式)或 2 條執行緒(對於 x5、x7 和 x9 模式)時,可以獲得最佳的壓縮比。注意:每個 xz 區塊包含 LZMA2 資料流。LZMA2 也可以被劃分為獨立的區塊(塊)。xz 區塊和 LZMA2 區塊之間的區別在於,每個 xz 區塊還包含校驗和(crc 或 sha),並且在 xz 流的末尾有一個索引記錄指向每個 xz 區塊。7-Zip 預設使用 xz 區塊。但可以指定模式,當它會使用一個 xz 區塊,而是多個 LZMA2 區塊。







Examples:
        s=16m
      
use 16 MB blocks.

        s
      
use one solid xz block per file.

        s c16m
      
use one solid xz block per file and 16 MiB LZMA2 blocks.


WIM
Parameter        De-fault        Description
im={ImageNumber}
        Sets image number.
is=[off | on]        off        Show image number in paths.
tm=[off | on]         on         Stores last Modified timestamps for files.
tc=[off | on]         off         Stores Creation timestamps for files.
ta=[off | on]         off         Stores last Access timestamps for files.
If image number is specified, 7-Zip works only with that image inside WIM archive. Other im-ages will be not changed. By default 7-Zip doesn't show image number, if there is only one image in WIM archive, or if image number is specified. But if the switch "is" specified, 7-Zip shows image number.
如果指定了映像號碼,7-Zip 只處理 WIM 包檔案內的該映像。其他映像將不會被修改。默認情況下,當 WIM 包檔案中只有一個映像,或是指定了映像號碼時,7-Zip 不會顯示映像號碼。但如果指定了開關"is",7-Zip 會顯示映像號碼。

7-Zip 也支援壓縮和解壓 .WIM(Windows Imaging Format)格式的檔案。WIM 檔案通常用於備份、安裝映像或系統恢復,它是 Microsoft 用來存儲 Windows 系統映像的格式。






Examples
7z a archive.zip *.jpg -mx0
adds *.jpg files to archive.zip archive without compression.
7z a archive.7z *.exe *.dll -m0=BCJ -m1=LZMA:d=21
adds *.exe and *.dll files to solid archive archive.7z using LZMA method with 2 MB diction-ary and BCJ filter.
7z a archive.7z a.tar -mf=BCJ2 -mx
adds a.tar files to archive archive.7z using BCJ2 filter.
7z a archive.7z *.wav -mf=Delta:4
adds *.wav files to archive archive.7z using Delta:4 filter.
7z a a.7z *.exe *.dll -m0=BCJ2 -m1=LZMA:d25 -m2=LZMA:d19 -m3=LZMA:d19 -mb0:1 -mb0s1:2 -mb0s2:3
adds *.exe and *.dll files to archive a.7z using BCJ2 filter, LZMA with 32 MB dictionary for main output stream (s0), and LZMA with 512 KB dictionary for s1 and s2 output streams of BCJ2.
7z a archive.7z *.txt -m0=PPMd
adds *.txt files to archive archive.7z using PPMd method.
7z a a.tar.xz a.tar -mf=bcj -mx
adds a.tar files to archive a.tar.xz using BCJ filter.
Commands that can be used with this switch
a (Add), h (Hash), d (Delete), rn (Rename), u (Update)
See also
Switches: -t (set Type of archive),









............................................................................................................





文章來源: https://mrtang.tw/blog/post/27861881

不是每個人的電腦都有安裝7-Zip,換句話說,也就是 不是每個人的電腦都能直接開啟.7z檔,如果收到壓縮檔的使用者電腦沒有安裝任何的壓縮/解壓縮軟體,那他將沒有辦法開啟你所寄給他的壓縮檔,那有沒有解決的辦法呢?

當然有,就是建立「自解壓縮檔」,所謂的「自解壓縮檔」意思就是,7-Zip除了將你要壓縮的資料打包壓縮之外,它還會將7-Zip的解壓縮程式也一起打包進去,所以收到這個壓縮檔的人就不需要再安裝任何的解壓縮軟體,就可以直接將資料解壓縮出來。

.zip檔 不能用      建立自解壓縮檔  只有.7z 才可以喔!















.....................................................................................................................


7-Zip 加密方法
選 AES-256 比較安全






..................................................................................................................


Switches 用法:





<Switches>
  -- : Stop switches and @listfile parsing
使用 -- 可以避免這種情況,確保後面的所有參數都作為文件名來處理,而不會被誤解為開關或選項。

總結:
•        -- 是一個 停止解析開關和 @listfile 的符號,它確保後續的所有參數都被當作純粹的文件名或路徑來處理。
•        它的主要用途是避免 7-Zip 將以 - 或 @ 開頭的文件名誤認為命令行選項或 listfile。
  





-ai[r[-|0]][m[-|2]][w[-]]{@listfile|!wildcard} : Include archives

基本結構:
•        -ai:這是選項的前綴,表示 "Include archives"(包含存檔)功能。也就是說,你可以指定 7-Zip 在進行壓縮或解壓時,是否要將某些存檔文件作為其他壓縮包的一部分來處理。
•        r[-|0]:這部分是 -r 選項的變化,-r 代表 遞歸處理(recurse),它會告訴 7-Zip 是否需要在子目錄中查找存檔文件。
o        r 允許遞歸。
o        r- 或 r0 禁止遞歸。這意味著如果目錄中有子目錄,這些子目錄中的文件將不會被包含在內。
•        m[-|2]:這是 -m 參數的變化,它控制 7-Zip 如何處理包含的存檔文件。
o        m 表示要使用某種壓縮方法來處理存檔。
o        m- 或 m0 禁用對存檔的壓縮方法。
o        m2 表示使用 LZMA2 壓縮方法來處理包含的存檔(如果你希望加強壓縮效果)。
•        w[-]:這是 -w 參數的變化,用來控制 工作目錄(working directory)。
o        w 表示將使用當前目錄作為工作目錄,並在該目錄中進行操作。
o        w- 禁用使用工作目錄。
•        {@listfile|!wildcard}:這部分指定要包括的存檔文件,可以使用兩種方式:
o        @listfile:這表示你可以將包含要處理的存檔文件的文件名列表放在一個文件中,這樣 7-Zip 就會按照這個文件中的內容來處理存檔。
        @listfile 是一個文本文件,每行包含一個存檔文件名或路徑,7-Zip 會按順序將這些存檔納入處理範圍。
o        !wildcard:這是使用通配符(wildcards)來指定文件名。這種方式允許你通過使用 * 和 ? 等符號,來匹配某些文件。例如,*.zip 會匹配所有 .zip 文件。
實際範例:
1.        遞歸地包括所有子目錄中的 .zip 文件,並使用 LZMA2 壓縮方法:
7z a output.7z -ai[r]m2w @filelist.txt

這條命令會將 filelist.txt 中列出的所有 .zip 存檔文件,包括其中的子目錄內的 .zip 文件(-r 表示遞歸),並且會使用 LZMA2 壓縮方法來處理這些存檔(m2)。

2. 只包括當前目錄中的 .zip 文件,不包括子目錄中的文件:
7z a output.7z -ai[r-]m0w !*.zip

這條命令會將當前目錄中的所有 .zip 文件加入到壓縮包中(!*.zip 用來匹配所有 .zip 文件),但是不會遞歸到子目錄(r-)。

3.從一個列表文件 archives.txt 中包含壓縮包,並禁用壓縮:
7z a output.7z -ai[r-]m0w @archives.txt

這條命令會從 archives.txt 文件中讀取壓縮包列表,並將這些壓縮包作為原始格式包括進來(m0 禁用壓縮)。


總結:
•        -ai 用來告訴 7-Zip 包括其他存檔文件(例如 .zip, .7z 等),並且可以控制如何處理這些存檔(是否遞歸、使用什麼壓縮方法等)。
•        可以使用 @listfile 來指定文件列表,也可以使用 !wildcard 來指定通配符匹配的文件。
•        這個選項在需要處理嵌套壓縮文件的情況下非常有用,例如將多個壓縮包包含到一個壓縮文件中。


在 7-Zip 命令中,m0w !*.zip 是一個特定的選項組合,讓我們來拆解並解釋每個部分的含義:
m0w:
•        m0:這是 -m 參數的設定,用來指定 壓縮方法。m0 表示 禁用壓縮,也就是說,所有被包含進壓縮包的文件不會被壓縮,而是以原始格式存儲(就像是簡單的文件拷貝)。
o        m 是設定壓縮方法的選項,而 0 表示 不進行壓縮。
•        w:這是 -w 參數,用來控制 工作目錄。w 表示將當前目錄設置為工作目錄。這意味著,7-Zip 在處理文件時,會使用當前目錄作為其操作的目錄。
o        使用 w 會讓 7-Zip 在當前工作目錄下操作,但通常也會被用來控制解壓縮過程中的文件讀取位置。
!*.zip:
•        !:這個符號用來指示 通配符 匹配文件。它告訴 7-Zip 使用 反向匹配(inverse match)。意思是它會選擇 不匹配 這個條件的文件。
o        所以,! 用來表示 排除。
•        *.zip:這是一個 通配符模式,表示所有擴展名為 .zip 的文件。這個模式將匹配當前目錄下所有的 .zip 文件。
組合在一起的含義:
•        m0w:禁用壓縮,並使用當前目錄作為工作目錄。
•        !*.zip:排除所有 .zip 文件。
整體解釋:
7z 命令中的 m0w !*.zip 意味著:
•        不對包含的文件進行壓縮(m0 表示不進行壓縮)。
•        在當前工作目錄下進行操作(w)。
•        排除所有 .zip 文件(!*.zip 表示排除所有擴展名為 .zip 的文件)。
實際用途:
這組選項的常見用途可能是:
1.        壓縮文件時,不壓縮 .zip 文件。假設你在處理一個包含 .zip 文件的資料夾,但你希望將其他文件壓縮進 .7z 文件,而不壓縮 .zip 文件,可以使用這個命令來排除 .zip 文件。

  -ax[r[-|0]][m[-|2]][w[-]]{@listfile|!wildcard} : eXclude archives






  -ao{a|s|t|u} : set Overwrite mode
  -an : disable archive_name field
  -bb[0-3] : set output log level
  -bd : disable progress indicator
  -bs{o|e|p}{0|1|2} : set output stream for output/error/progress line
  -bt : show execution time statistics
  -i[r[-|0]][m[-|2]][w[-]]{@listfile|!wildcard} : Include filenames
  -m{Parameters} : set compression Method
    -mmt[N] : set number of CPU threads
    -mx[N] : set compression level: -mx1 (fastest) ... -mx9 (ultra)
  -o{Directory} : set Output directory
  -p{Password} : set Password
  -r[-|0] : Recurse subdirectories for name search
  -sa{a|e|s} : set Archive name mode
  -scc{UTF-8|WIN|DOS} : set charset for console input/output
  -scs{UTF-8|UTF-16LE|UTF-16BE|WIN|DOS|{id}} : set charset for list files
  -scrc[CRC32|CRC64|SHA256|SHA1|XXH64|*] : set hash function for x, e, h commands
  -sdel : delete files after compression
  -seml[.] : send archive by email
  -sfx[{name}] : Create SFX archive
  -si[{name}] : read data from stdin
  -slp : set Large Pages mode
  -slt : show technical information for l (List) command
  -snh : store hard links as links
  -snl : store symbolic links as links
  -sni : store NT security information
  -sns[-] : store NTFS alternate streams
  -so : write data to stdout
  -spd : disable wildcard matching for file names
  -spe : eliminate duplication of root folder for extract command
  -spf[2] : use fully qualified file paths
  -ssc[-] : set sensitive case mode
  -sse : stop archive creating, if it can't open some input file
  -ssp : do not change Last Access Time of source files while archiving
  -ssw : compress shared files
  -stl : set archive timestamp from the most recently modified file
  -stm{HexMask} : set CPU thread affinity mask (hexadecimal number)
  -stx{Type} : exclude archive type
  -t{Type} : Set type of archive
  -u[-][p#][q#][r#][x#][y#][z#][!newArchiveName] : Update options
  -v{Size}[b|k|m|g] : Create volumes
  -w[{path}] : assign Work directory. Empty path means a temporary directory
  -x[r[-|0]][m[-|2]][w[-]]{@listfile|!wildcard} : eXclude filenames
  -y : assume Yes on all queries




.....................................................................................................................

這邊要學習一下 很好用的

7-Zip 命令(指令)

因為實在功能太多了 就提供常用的幾個命令(指令)

首先 在搜尋列 輸入 cmd 以系統管理員身份執行

然後先將路徑指向 這裡





C:\Windows\system32>cd\

C:\>cd Program Files

C:\Program Files>cd 7-Zip

C:\Program Files\7-Zip >




在此路徑 輸入 7-Zip 命令(指令)

C:\Program Files\7-Zip >
C:\Program Files\7-Zip >底下有一個 7z.exe檔 就是用這個執行檔 下命令(指令)
C:\Program Files\7-Zip > 7z t e:\raw.7z   前面那個 紅色的 7z  執行檔 省略 .exe
你也可以輸入它 C:\Program Files\7-Zip > 7z.exe t e:\raw.7z



t         測試壓縮包的是否出錯

我有一佪 在 E槽 底下 raw.7z 壓縮檔
測試這個檔 是否能正常解壓

C:\Program Files\7-Zip>7z t e:\raw.7z

顯示如下: 表示正常

7-Zip 24.09 (x64) : Copyright (c) 1999-2024 Igor Pavlov : 2024-11-29

Scanning the drive for archives:
1 file, 23296248 bytes (23 MiB)

Testing archive: e:\raw.7z
--
Path = e:\raw.7z
Type = 7z
Physical Size = 23296248
Headers Size = 268
Method = LZMA2:24m
Solid = +
Blocks = 1

Everything is Ok

Folders: 2
Files: 3
Size:       23759577
Compressed: 23296248

a 壓縮

要壓縮 一個 E槽 底下 raw資料夾
C:\Program Files\7-Zip>7z a e:\raw  預設都是先壓縮.7z檔  副檔名.7z檔
C:\Program Files\7-Zip>7z a e:\raw\raw.zip 你可設定 副檔名.zip檔


這是結果

7-Zip 24.09 (x64) : Copyright (c) 1999-2024 Igor Pavlov : 2024-11-29

Scanning the drive:
1 folder, 108 files, 5864950 bytes (5728 KiB)

Creating archive: e:\raw.7z

Add new data to archive: 1 folder, 108 files, 5864950 bytes (5728 KiB)


Files read from disk: 107
Archive size: 1664881 bytes (1626 KiB)
Everything is Ok



要壓縮 一個 E槽 底下 ra raw ok 三個資料夾 壓縮檔 檔名取bc.7z 或bc.zip 將壓縮檔放在 e:\bc資料夾

C:\Program Files\7-Zip>7z a e:\bc\bc.7z  e:\ra e:\raw e:\ok

C:\Program Files\7-Zip>7z a e:\bc\bc.zip  e:\ra e:\raw e:\ok







指定密碼壓縮 -p 將 E槽 底下 raw資料夾 加密後 壓縮到 E槽  檔名是ok  副檔名是 .7z  預設`7-Zip 先壓縮成 .7z檔   你可以指定為 .zip

C:\Program Files\7-Zip>7z a e:\ok e:\raw -pcyn   密碼:cyn

C:\Program Files\7-Zip>7z a e:\ok.zip e:\raw -pcyn  密碼:cyn

C:\Program Files\7-Zip>7z a e:\ko\ko.7z e:\raw -pcyn 密碼:cyn



解壓帶密碼的壓縮檔

x表示 解壓檔到指定目錄。保持檔的原始路徑結構。注意不同之處#########

C:\Program Files\7-Zip>7z x -o"e:\bc" e:\ok.7z -pcyn   將有密碼(密碼為cyn) ok.7z檔 解壓到bc資料夾

注意這個要打檔案的副檔名喔!而且要指定解壓縮到哪個資料夾(不能與解壓縮檔的檔名相同)


e表示 解壓檔到目前的目錄或指定目錄,不保持原始目錄結構。注意不同之處#########


C:\Program Files\7-Zip>7z e -o"e:\bc" e:\ok.7z -pcyn 將有密碼(密碼為cyn) ok.7z檔 解壓到bc資料夾


C:\Program Files\7-Zip>7z i e:\ok.7z -pcyn   列出壓縮包內的檔內容及其他詳細資訊。


更新檔        u        更新已有壓縮包中的檔(只會添加或替換檔,不會刪除)。
刪除檔        d        從壓縮包中刪除指定的檔。



C:\Program Files\7-Zip>7z a -tzip e:\ok 將 E槽 ok資料夾 壓縮成 .zip檔

-t{format} -tzip   表示 壓縮成 .zip檔









分割壓縮檔 -v  將E槽的 Wonderful資料夾 底下的所有檔 分割壓縮為500M的分割檔
將它存到 E槽 的 ok資料夾  用7z壓縮格式  你也可以用zip

C:\Program Files\7-Zip>7z a e:\ok\Wonderful.7z e:\Wonderful\* -v500M

C:\Program Files\7-Zip>7z a e:\ok\Wonderful.zip e:\Wonderful\* -v500M


這是結果

7-Zip 24.09 (x64) : Copyright (c) 1999-2024 Igor Pavlov : 2024-11-29

Scanning the drive:
2 files, 3676154337 bytes (3506 MiB)

Creating archive: e:\ok\Wonderful.7z

Add new data to archive: 2 files, 3676154337 bytes (3506 MiB)


Files read from disk: 2
Archive size: 3675712271 bytes (3506 MiB)
Volumes: 8
Everything is Ok





7-Zip 合併壓縮檔

將 E槽 ok資料夾 底下的 所有分割檔 合併到 E槽 bm資料夾 檔名是 Wonderful.7z(取名與原檔名相同)

C:\Program Files\7-Zip>copy /b e:\ok\Wonderful.7z.* e:\bm\Wonderful.7z




查看e:\ok\底下的 Wonderful.7z檔  按右鍵--內容
會看見 壓縮 (001) 檔案 (.001)

只要用7-Zip 解壓縮第一個檔  (前面都巳提過 分割壓縮檔 只要解第一個檔即可(.001副檔名的)








解壓縮 分割壓縮檔 (把檔案解壓出來喔! 是這個意思啦!)

(前面都巳提過 分割壓縮檔 只要解第一個檔即可(.001副檔名的)

將E槽 ok資料夾底下的 Wonderful.7z.001分割檔 解壓縮到 E槽的 bm資料夾中


C:\Program Files\7-Zip>7z x -o"e:\bm" "e:\ok\Wonderful.7z.001"

C:\Program Files\7-Zip>7z x -oe:\bm e:\ok\Wonderful.7z.001


-o{path} -oe:\bm指定解壓後的輸出路徑。如果未指定,默認為目前的目錄。



C:\Program Files\7-Zip>7z -h  顯示命令列説明資訊。


7-Zip 24.09 (x64) : Copyright (c) 1999-2024 Igor Pavlov : 2024-11-29

Usage: 7z <command> [<switches>...] <archive_name> [<file_names>...] [@listfile]

<Commands>
  a : Add files to archive  
  b : Benchmark
  d : Delete files from archive
  e : Extract files from archive (without using directory names)
  h : Calculate hash values for files
  i : Show information about supported formats
  l : List contents of archive
  rn : Rename files in archive
  t : Test integrity of archive
  u : Update files to archive
  x : eXtract files with full paths

<Switches>
  -- : Stop switches and @listfile parsing
  -ai[r[-|0]][m[-|2]][w[-]]{@listfile|!wildcard} : Include archives
  -ax[r[-|0]][m[-|2]][w[-]]{@listfile|!wildcard} : eXclude archives
  -ao{a|s|t|u} : set Overwrite mode
  -an : disable archive_name field
  -bb[0-3] : set output log level
  -bd : disable progress indicator
  -bs{o|e|p}{0|1|2} : set output stream for output/error/progress line
  -bt : show execution time statistics
  -i[r[-|0]][m[-|2]][w[-]]{@listfile|!wildcard} : Include filenames
  -m{Parameters} : set compression Method
    -mmt[N] : set number of CPU threads
    -mx[N] : set compression level: -mx1 (fastest) ... -mx9 (ultra)
  -o{Directory} : set Output directory
  -p{Password} : set Password
  -r[-|0] : Recurse subdirectories for name search
  -sa{a|e|s} : set Archive name mode
  -scc{UTF-8|WIN|DOS} : set charset for console input/output
  -scs{UTF-8|UTF-16LE|UTF-16BE|WIN|DOS|{id}} : set charset for list files
  -scrc[CRC32|CRC64|SHA256|SHA1|XXH64|*] : set hash function for x, e, h commands
  -sdel : delete files after compression
  -seml[.] : send archive by email
  -sfx[{name}] : Create SFX archive
  -si[{name}] : read data from stdin
  -slp : set Large Pages mode
  -slt : show technical information for l (List) command
  -snh : store hard links as links
  -snl : store symbolic links as links
  -sni : store NT security information
  -sns[-] : store NTFS alternate streams
  -so : write data to stdout
  -spd : disable wildcard matching for file names
  -spe : eliminate duplication of root folder for extract command
  -spf[2] : use fully qualified file paths
  -ssc[-] : set sensitive case mode
  -sse : stop archive creating, if it can't open some input file
  -ssp : do not change Last Access Time of source files while archiving
  -ssw : compress shared files
  -stl : set archive timestamp from the most recently modified file
  -stm{HexMask} : set CPU thread affinity mask (hexadecimal number)
  -stx{Type} : exclude archive type
  -t{Type} : Set type of archive
  -u[-][p#][q#][r#][x#][y#][z#][!newArchiveName] : Update options
  -v{Size}[b|k|m|g] : Create volumes
  -w[{path}] : assign Work directory. Empty path means a temporary directory
  -x[r[-|0]][m[-|2]][w[-]]{@listfile|!wildcard} : eXclude filenames
  -y : assume Yes on all queries





7-Zip 提取檔案

將E槽 ok資料夾底下的 Wonderful.7z.001分割檔 提取檔案到 E槽的 ck資料夾


C:\Program Files\7-Zip>7z x e:\ok\Wonderful.7z.001 -oe:\ck    注意-oe 中間不能有空格

-o{path} -oe:\ck 指定解壓後的輸出路徑。如果未指定,默認為目前的目錄。


C:\Program Files\7-Zip>7z -version        顯示 7z 工具的版本資訊。
結果
7-Zip 24.09 (x64)這是版本  : Copyright (c) 1999-2024 Igor Pavlov : 2024-11-29



創建一個自解壓壓縮包:
C:\Program Files\7-Zip>7z a -sfx e:\bc\hl.exe e:\mk

a 壓縮一個E槽 資料夾mk  用sfx 存到 E槽 bc資料夾 自解壓縮檔 檔名為hl.exe

-sfx  sfx模組   表示使用自解壓縮檔


創建加密的自解壓檔

C:\Program Files\7-Zip>7z a -sfx -pcyn e:\bc\hl.exe e:\mk   -p表示加密  密碼是cyn


在 7-Zip 中,Benchmark 是一個用來測量壓縮和解壓速度的命令。通過命令行,可以運行 7z 的 benchmark 模式,來測試不同算法在你系統上的性能


C:\Program Files\7-Zip>7z b

7-Zip 24.09 (x64) : Copyright (c) 1999-2024 Igor Pavlov : 2024-11-29

Compiler:  MSC 1400.140040310
Windows 10.0 19045
x64 6.4E03 threads:4 128TB f:1F110F2774C
Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz
(406E3 : Intel64 Family 6 Model 78 Stepping 3) (C6->CC) 2400 MHz

1T CPU Freq (MHz):  2422  2242  2466  2470  2487  2442  2453
2T CPU Freq (MHz): 181% 2242   190% 2247
4T CPU Freq (MHz): 285% 1667   282% 1658

RAM size:   12180 MB,  # CPU hardware threads:   4
RAM usage:    889 MB,  # Benchmark threads:      4

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:       6206   233   2594   6038  |      97570   279   2985   8324
23:       5725   227   2570   5833  |      82927   249   2878   7176
24:       4320   193   2411   4646  |      84477   258   2879   7413
25:       3983   183   2486   4548  |      86199   268   2864   7672
----------------------------------  | ------------------------------
Avr:      5058   209   2515   5266  |      87793   263   2901   7646
Tot:             236   2708   6456

C:\Program Files\7-Zip>

















還是註明出處: 阿榮福利味 (雖然阿榮說可以轉載)

7-ZIP SFX Maker 3.3 免安裝中文版 - 7z自解壓縮檔製作工具

https://www.azofreeware.com/2012/07/7-zip-sfx-maker-32-7z.html

免安裝版 不會在你的電腦留下登入檔的訊息   如果你不想再使用  刪除資料夾即可

不會有影響的 請放心下載 看清楚喔! 選免安裝版 解壓密碼是 azo

打開資料夾 執行 7-ZIP SFX Maker  語言選 繁體中文

如果要製作你專屬的 ico 有圖片的 自解壓縮檔

把你收藏的`ico檔 或網路下載的  把它存到 Resources 資料夾即可使用
選 圖示 那個功能 再選圖示








LZMA 軟體開發套件 亦可簡稱為 LZMA SDK

有興趣的網友 可以到官網下載相關檔案

官網可下載  
https://www.developershome.com/7-zip/sdk.asp


LZMA 軟體開發套件
C、C++、C#、Java
x86/x64 微軟視窗執行檔

結束了 希望大家學習一下。




..........................................................................................................







附件: 2.jpg (5 天前, 68.67 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI3OTJ8OGEyYmRmNjN8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 75.98 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI3ODd8YmFkYTNjMmF8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 56.16 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI3ODh8N2RlOWJiZDV8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 17.54 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI3OTF8YWRhMTg1Njd8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 23.11 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI3ODZ8MWZkZWZjY2J8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 27.56 KB) / 下載次數 4
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI3OTN8Nzk4OGU0OWJ8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 49.68 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI3OTR8ODViZGNiYzl8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 55.26 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI3OTV8ZDRjOWJkZDJ8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 48.53 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI3OTZ8ZjkwNzFlNjZ8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 125.94 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI3OTd8NDlmOTlkODN8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 128 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI3OTh8NmVkZWYzYWR8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 56.13 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI3OTl8MmY4ZGM4OTd8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 49.4 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4MDB8ZGQ4OTNmNDB8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 35.22 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4MDF8YjcyYTU3YWZ8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 158.25 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4MDJ8ZTNhNTBiZDh8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 91.54 KB) / 下載次數 4
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4MDN8MjY0MzBiODN8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 51.75 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4MDR8NzA5YzViNWN8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 93.25 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4MDV8NGZmZTkxOGF8MTc1Nzg4ODg4OHwwfDA%3D

附件: 3.jpg (5 天前, 97.74 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4MDZ8MDg4MGM5NmF8MTc1Nzg4ODg4OHwwfDA%3D

附件: 2.jpg (5 天前, 112.13 KB) / 下載次數 4
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4MDd8YTE4NGI2Mzl8MTc1Nzg4ODg4OHwwfDA%3D

附件: 4.jpg (5 天前, 90.8 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4MDh8ZWFjNzY5YmN8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 48.79 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4MDl8ZjFmZmEzZTF8MTc1Nzg4ODg4OHwwfDA%3D

附件: 2.jpg (5 天前, 150.56 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4MTB8NmFmYmIwNmJ8MTc1Nzg4ODg4OHwwfDA%3D

附件: 2.jpg (5 天前, 87.01 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4MTF8ZjA0MGM0NDl8MTc1Nzg4ODg4OHwwfDA%3D

附件: 3.jpg (5 天前, 116.47 KB) / 下載次數 6
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4MTJ8NzM5ODM1YTJ8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 86.51 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4MTN8NTU5ZTljODl8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 69.86 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4MTR8MDZkNzIxNzV8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 25.56 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4MTV8ZWI4Y2MxNzJ8MTc1Nzg4ODg4OHwwfDA%3D

附件: 2.jpg (5 天前, 53.74 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4MTZ8MjE3NmEzZWJ8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 68.61 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4MTd8ODVjYzFjZmV8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 75.75 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4MTh8OTM4OWU4YzB8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 85.89 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4MTl8YzVjODgzYjV8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 105.62 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4MjB8MjQ2YjFhMTV8MTc1Nzg4ODg4OHwwfDA%3D

附件: 2.jpg (5 天前, 250.41 KB) / 下載次數 4
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4MjF8YjNjYzNmY2V8MTc1Nzg4ODg4OHwwfDA%3D

附件: 3.jpg (5 天前, 246.84 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4MjJ8MjZjYTZiZGN8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 70.7 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4MjN8NDVjYWVlOGZ8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 70.07 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4MjR8NmFiZDY2MDl8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 71.29 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4MjV8NGY2M2ZmYzF8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 71.3 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4MjZ8MDNmOGFlNjF8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 71.16 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4Mjd8MjcxYmY0YWF8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 84.07 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4MzB8MzU1M2Q0M2F8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 71.31 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4MzF8ZjkyMTU2N2N8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 68.94 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4MzJ8ZWEwYjI3ZmV8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 71.15 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4MzN8YTBmMWYyZjR8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 69.58 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4MzR8ODgyMDFlNDl8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 70.15 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4MzV8OGRkYzJlYzJ8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 69.82 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4MzZ8OWQ4ZGI5OTJ8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 72.69 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4Mzd8MDY3OGI0OGF8MTc1Nzg4ODg4OHwwfDA%3D

附件: 2.jpg (5 天前, 82.69 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4Mzh8ZTI1NDgzNzJ8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 86.18 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4Mzl8MmQzMjM0MDF8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 73.65 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4NDB8ZjIyZDE0NDJ8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 75.48 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4NDF8NDdhODFhNzl8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 75.16 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4NDJ8OGIxYmNiNWV8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 73.46 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4NDN8MTFiYjk0NmJ8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 74.68 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4NDR8NThiYjc3ODB8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 75.53 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4NDV8YjRiZTQxZWR8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 73.79 KB) / 下載次數 4
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4NDZ8MzEzMDQyMTJ8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 73.94 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4NDd8YjczMDhjNzN8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 77.85 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4NTB8YTNkY2M5NTF8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 73.57 KB) / 下載次數 4
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4NTJ8NGFmODMyOGR8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 72.54 KB) / 下載次數 4
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4NTN8NTM0YzZkNDR8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 47.26 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4NTV8YmM1OGRiMmF8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 50.68 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4NTd8Mzg4OTIyODl8MTc1Nzg4ODg4OHwwfDA%3D

附件: 2.jpg (5 天前, 73.54 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4NTh8MGRiY2IyZmZ8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 21.86 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4NjB8NzIzYzkyMWJ8MTc1Nzg4ODg4OHwwfDA%3D

附件: 2.jpg (5 天前, 81.54 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4NjF8NDEyZDEwMDl8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 73.1 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4NjJ8ZThhNWI3ZWZ8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 58.07 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4NjN8ZTQ0MmU5NWF8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 72.98 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4NjR8YzBlMTFjMTJ8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 73.15 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4NjV8YmVjNjRjOGJ8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 74.26 KB) / 下載次數 6
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4NjZ8NjE5NzE3ZGZ8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 72.18 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4Njd8OGYzNDYxN2J8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 75.08 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4NzB8Njk0OGI3NzB8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 74.26 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4NzF8MjJkY2NlMmR8MTc1Nzg4ODg4OHwwfDA%3D

附件: 2.jpg (5 天前, 18.41 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4NzJ8NWY4YWNhYzd8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 73.38 KB) / 下載次數 4
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4NzN8MTRmNTdjNjB8MTc1Nzg4ODg4OHwwfDA%3D

附件: 3.jpg (5 天前, 47.92 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4NzR8MzgxMWI5OTF8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 72.69 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4NzZ8Y2YyNTQ1YjN8MTc1Nzg4ODg4OHwwfDA%3D

附件: 1.jpg (5 天前, 192.32 KB) / 下載次數 5
https://oursogo.com/forum.php?mod=attachment&aid=Mjg3MTI4Nzd8NTcyMDhhYjR8MTc1Nzg4ODg4OHwwfDA%3D




歡迎光臨 SOGO論壇 (https://oursogo.com/) Powered by OURSOGO.COM