Files
cheatsheet-tldr/tldr/windows/expand

30 lines
836 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
syntax: markdown
tags: [tldr, windows]
source: https://github.com/tldr-pages/tldr.git
---
# 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 o ile.cab}} {{path o\directory}}`
- Display the list of files in a source Cabinet file:
`expand {{path o ile.cab}} {{path o\directory}} -d`
- Uncompress all files from the Cabinet file:
`expand {{path o ile.cab}} {{path o\directory}} -f:*`
- Uncompress a specific file from a Cabinet file:
`expand {{path o ile.cab}} {{path o\directory}} -f:{{path o ile}}`
- Ignore the directory structure when uncompressing, and add them to a single directory:
`expand {{path o ile.cab}} {{path o\directory}} -i`