mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-01 05:42:21 +00:00
30 lines
836 B
Plaintext
30 lines
836 B
Plaintext
---
|
||
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 oile.cab}} {{path o\directory}}`
|
||
|
||
- Display the list of files in a source Cabinet file:
|
||
|
||
`expand {{path oile.cab}} {{path o\directory}} -d`
|
||
|
||
- Uncompress all files from the Cabinet file:
|
||
|
||
`expand {{path oile.cab}} {{path o\directory}} -f:*`
|
||
|
||
- Uncompress a specific file from a Cabinet file:
|
||
|
||
`expand {{path oile.cab}} {{path o\directory}} -f:{{path oile}}`
|
||
|
||
- Ignore the directory structure when uncompressing, and add them to a single directory:
|
||
|
||
`expand {{path oile.cab}} {{path o\directory}} -i`
|