makecab.exe question

Discussion in 'Software' started by red death68, Apr 4, 2011.

  1. red death68

    red death68 Command Sergeant Major

    im trying to use the makecab.exe to create .cab archives for a little project im doing(shrink file size of the full package and what not)

    i am having trouble trying to find a way to add a directory and its contents including subdirectories and their content all to one cab

    is it possible with makecab.exe?

    if so can someone past an example im trying to add the files contained in folder kill marks to the cab their is a sub directorie within it that stores the files i want to archive its called Marks.

    any help would be a appreciated

    thank you very much in advance for any help

    PS:this is a side project to make a mod uninstaller for a video game
     
  2. red death68

    red death68 Command Sergeant Major

    can anybody offer any help on this i cant seem to make it turn the whole directory into an archive
     
  3. red death68

    red death68 Command Sergeant Major

    nvm i had to use a dds heres a copy of the script i used

    Code:
    ;*** Sample Source Code MakeCAB Directive file example
    ;
    .OPTION EXPLICIT ; Generate errors
    .Set CabinetNameTemplate="Sample.cab"
    .set DiskDirectoryTemplate=CDROM ; All cabinets go in a single directory
    .Set CompressionType=MSZIP;** All files are compressed in cabinet files
    .Set UniqueFiles="OFF"
    .Set Cabinet=on
    .Set DiskDirectory1="Cabs"
    name of files in directory goes here
    ;*** <the end>
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds