From 1bf7b880ca224ebd6cf152554e4c024c4b42956a Mon Sep 17 00:00:00 2001 From: pxgamer Date: Wed, 13 Jun 2018 11:23:43 +0100 Subject: [PATCH] expand: add page --- pages/windows/expand.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pages/windows/expand.md diff --git a/pages/windows/expand.md b/pages/windows/expand.md new file mode 100644 index 000000000..5509a9ea0 --- /dev/null +++ b/pages/windows/expand.md @@ -0,0 +1,23 @@ +# expand + +> Uncompress one or more Windows Cabinet files. + +- Uncompress a single-file Cabinet file to the specified directory: + +`expand {{path/to/file.cab}} {{path/to/directory}}` + +- Display a list of files in the 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:{{file}}` + +- Ignore the directory structure when uncompressing: + +`expand {{path/to/file.cab}} {{path/to/directory}} -i`