1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/windows/expand.md
Emily Grace Seville c52cc074d9
windows/*.md: make placeholders more compatible with CLIP ones (#9872)
* Make placeholders more compatible with CLIP ones

* Update pages/windows/doskey.md

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>

* Update pages/windows/doskey.md

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>

---------

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
2023-02-20 15:23:49 +08:00

24 lines
771 B
Markdown

# 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`