expand
Uncompress one or more Windows Cabinet files. More information: https://learn.microsoft.com/windows-server/administration/windows-commands/expand.
-
Uncompress a single-file Cabinet file to the specified directory:
expand {{path\to\file.cab}} {{path\to\directory}}
-
Display the list of files in a source Cabinet file:
expand {{path\to\file.cab}} {{path\to\directory}} -d
-
Uncompress all files from the Cabinet file:
expand {{path\to\file.cab}} {{path\to\directory}} -f:*
-
Uncompress a specific file from a Cabinet file:
expand {{path\to\file.cab}} {{path\to\directory}} -f:{{path\to\file}}
-
Ignore the directory structure when uncompressing, and add them to a single directory:
expand {{path\to\file.cab}} {{path\to\directory}} -i
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.