Questions

Extract multiple cab files

Tags:
+
0 Votes
Locked

Extract multiple cab files

slickprog
Hi, I'm using extract.exe right now and I can't seem to figure out how to tell extract.exe to extract all the .cab files in a folder
extract /a *.cab doesn't work.
it asks for a specific cab file name so i guess it can't do wildcards

Can extract.exe even do what I need it to? Anyone know of a better extract utlity? Thanks for looking.

(to clarify, i am not talking about multiple files inside a cab file)
  • +
    0 Votes
    ugadata

    I don't think extract.exe works with multiple CAB files. You could the expand.exe command that does work with wildcards.

    Another option would be a Do .. While or For loop in a batch file to feed the extract command one cab file at a time until all the cab files in the folder or list are completed.

    +
    0 Votes
    slickprog

    expand doesn't seem to allow wildcards either
    hmm this is proving difficult
    thank you for your suggestion but i can't write a script to save my life

    +
    0 Votes
    ugadata

    According to the /? option for expand it will allow wildcards for the source but it also requires a destination, and that the destination be a folder/directory.

    +
    0 Votes
    slickprog

    i played around with expand a bunch and couldn't get it to extract wildcards

    i did however find a solution. for future reference, i used a program i found online called cabextract (cabext) which works with the command line

  • +
    0 Votes
    ugadata

    I don't think extract.exe works with multiple CAB files. You could the expand.exe command that does work with wildcards.

    Another option would be a Do .. While or For loop in a batch file to feed the extract command one cab file at a time until all the cab files in the folder or list are completed.

    +
    0 Votes
    slickprog

    expand doesn't seem to allow wildcards either
    hmm this is proving difficult
    thank you for your suggestion but i can't write a script to save my life

    +
    0 Votes
    ugadata

    According to the /? option for expand it will allow wildcards for the source but it also requires a destination, and that the destination be a folder/directory.

    +
    0 Votes
    slickprog

    i played around with expand a bunch and couldn't get it to extract wildcards

    i did however find a solution. for future reference, i used a program i found online called cabextract (cabext) which works with the command line