In addition, when files are split across cab (in case if cabinet size exceeds its limit size) then you can set subsequent cabinet filenames also using variable CabinetName n:ĬabinetNamen=filename Set CabinetNameTemplate=EXCEL*.DIA EXCEL1.DIA, EXCEL2.DIA, etc. This until it had already created 9 cabinets!Įxamples. Limits for your file system! For example, if you used "CABINET*.CAB",Īnd MakeCAB had to create 10 or more cabinets, then you would haveĬabinet names like CABINET10.CAB, which is 9.3, which is an invalid NOTE: Be sure that the expanded cabinet name does not exceed the Variable is used only if no variable CabinetNamen exists for cabinet In this template is replaced by the cabinet number (1, 2, etc.). This template is used to construct the file name of each cabinet. Set CabinetNameTemplate=*.CAB 1.CAB, 2.CAB. Set DiskDirectoryTemplate= Put all files in current dirĭefault. Set DiskDirectoryTemplate=C:\EXCEL6 Put all files in C:\EXCEL6 Set DiskDirectoryTemplate=C:\EXCEL6\DISK* Put files in separate dirs This variable is used only if no variable DiskDirectoryn exists forĮxamples. Specified, then all files are placed in the single directory specified This variable, then it is replaced with the disk number. MakeCAB simply creates one subdirectory for each disk and places theįiles for each disk in the appropriate directory. Rather than using some specific disk format, however, Set DiskDirectoryTemplate=DISK* Default is DISK1, DISK2,Īs MakeCAB processes a directive file, it will create one or moreĭisk "images". You can set following two variables in the directive file which will identify destination path and name of cab file:ĭiskDirectoryTemplate=template CabinetNameTemplate=template ĭescription from Microsoft MakeCAB User's Guide
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |