1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 23:02:07 +02:00
tldr/pages/windows/expand.md
Vitor Henrique 55a49c4ba1
pages*: remove "one or more" from description when superfluous (#12121)
* pages*: remove "one or more" from description when superfluous

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2024-01-25 10:58:11 +05:30

759 B

expand

Uncompress 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