diff --git a/pages/windows/compact.md b/pages/windows/compact.md new file mode 100644 index 0000000000..019bc9ae83 --- /dev/null +++ b/pages/windows/compact.md @@ -0,0 +1,24 @@ +# compact + +> Display or change the compression state of files and directories on NTFS partitions. +> More information: . + +- Display the compression status of files in the current directory: + +`compact` + +- Compress a specific file: + +`compact /c {{path\to\file}}` + +- Uncompress a specific file: + +`compact /u {{path\to\file}}` + +- Compress all files in a directory and its subdirectories: + +`compact /c /s {{path\to\directory}}` + +- Uncompress all files in a directory and its subdirectories: + +`compact /u /s {{path\to\directory}}`