0
我正試圖保留.cab文件中的部分文件夾結構。任何人都知道什麼是正確的做法? 例如,Makecab保存文件夾結構的方法.cab
我想讓my.cab,在my.cab:kb_32 \ filtr.Inf和filtr.sys
但我只能得到my.cab(解壓縮一下,看看C_ \用戶\ EK \桌面\博士\多抗\ kb_32 \ filtr.inf和filtr.sys)
.OPTION EXPLICIT ; Generate errors
.Set CabinetFileCountThreshold=0;
.Set FolderFileCountThreshold=0;
.Set FolderSizeThreshold=0;
.Set MaxCabinetSize=0;
.Set MaxDiskFileCount=0;
.Set MaxDiskSize=0;
.Set CompressionType=MSZIP;
.Set Cabinet=on;
.Set Compress=on;
; Specify file name for new cab file;
.Set CabinetNameTemplate=kb.cab;
; Specify the subdirectory for the files.
; Your cab file should not have files at the root level,
; and each driver package must be in a separate subfolder.
.Set DestinationDir=C:\Users\EK\Desktop\dr\pcab;
; Specify files to be included in cab file;
C:\Users\EK\Desktop\dr\pcab\kb_32\filtr.Inf;
C:\Users\EK\Desktop\dr\pcab\kb_32\filtr.sys;
(請注意的是,在此行僅添加的結尾,使它看起來像正確的代碼格式發表我的問題,對不起,我缺乏編輯我的代碼的經驗。)
非常感謝! LJ