Share via


diantz

適用於:Windows Server 2022、Windows Server 2019、Windows Server 2016、Windows Server 2012 R2、Windows Server 2012

將現有檔案封裝至封包 (.cab) 檔案中。 此命令會執行與更新的 makecab 命令相同的動作。

語法

diantz [/v[n]] [/d var=<value> ...] [/l <dir>] <source> [<destination>]
diantz [/v[<n>]] [/d var=<value> ...] /f <directives_file> [...]

參數

參數 描述
<source> 要壓縮的檔案。
<destination> 要壓縮之檔案的檔案名稱。 如果省略,來源檔案名稱的最後一個字元將以底線 (_) 取代,並做為目的地。
/f <directives_file> 具有 diantz 指示詞的檔案 (可重複)。
/d var=<value> 使用指定的值定義變數。
/l <dir> 做為置放目的地的位置 (預設值為目前的目錄)。
/v[<n>] 設定偵錯的詳細資訊程度 (0=none,...,3=full)。
/? 在命令提示字元顯示說明。