compact
Display or change the compression state of files and directories on NTFS partitions. More information: https://learn.microsoft.com/windows-server/administration/windows-commands/compact.
- Display the compression status of files in the current directory:
compact
- Compress a specific file:
compact /c
- Uncompress a specific file:
compact /u
- Compress all files in a directory and its subdirectories:
compact /c /s
- Uncompress all files in a directory and its subdirectories:
compact /u /s
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
