Copy below script to notepad, Update the Path and File names based on hierarchy and save it as .ddf
.OPTION EXPLICIT ; Will Generate errors for mistakes
.set DiskDirectoryTemplate=CDROM ; All cabinets go into a folder
.Set CompressionType=MSZIP ;** All files are compressed to cabinet files
.Set UniqueFiles="OFF"
.Set Cabinet=on
; Destination Folder
.Set DiskDirectory1=
; File name for the new cab file
.Set CabinetNameTemplate= .cab
; Files to be added are listed below
"C:\Folder1\Feature.xml"
.Set DestinationDir=Folder1.1
"C:\Folder1\Folder1.1\Feature.xml"
run makecab /f.ddf in command prompt to create a cab file.
.OPTION EXPLICIT ; Will Generate errors for mistakes
.set DiskDirectoryTemplate=CDROM ; All cabinets go into a folder
.Set CompressionType=MSZIP ;** All files are compressed to cabinet files
.Set UniqueFiles="OFF"
.Set Cabinet=on
; Destination Folder
.Set DiskDirectory1=
; File name for the new cab file
.Set CabinetNameTemplate=
; Files to be added are listed below
"C:\Folder1\Feature.xml"
.Set DestinationDir=Folder1.1
"C:\Folder1\Folder1.1\Feature.xml"
run makecab /f
No comments:
Post a Comment