Microsoft Windows XP Professional Administrators Guide

Displays and changes compression settings for files and folders on NTFS partitions.

Syntax

compact [/c|/u] [/s[:dir]] [/a] [/i] [/f] [/q] [filename[...]]

Parameters

 

Parameter

Purpose


None

Displays information of the compression state for the current folder.

[/c]

Compresses the folder or file.

[/u]

Uncompresses the folder or file.

[/s:dir]

Specifies that all subfolders should be processed.

[/a]

Displays hidden or system files.

[/i]

Specifies that errors should be ignored.

[/f]

Forces the compression or uncompression of the folder or file.

[/q]

Limits reporting to essential information only.

[filename]

Sets the file or directory.

Категории