Attrib

Lists or modifies file attributes.

Syntax

 attrib [+r|-r] [+a|-a] [+s|-s] [+h|-h] [[drive:][path] filename] [/s[/d]] 

Parameters

 

Parameter

Purpose


[+r]

Specifies the read-only attribute.

[r]

Clears the read-only attribute.

[+a]

Specifies the archive attribute.

[a]

Clears the archive attribute.

[+s]

Identifies the file as a system file.

[s]

Clears the system file attribute.

[+h]

Specifies the hidden file attribute.

[h]

Clears the hidden file attribute.

[[drive:][path] filename]

Sets the drive, path, and file name to be processed.

[\s]

Applies changes to matching files in the current directory and all subdirectories.

[\d]

Processes directories.



Microsoft Windows XP Professional Administrator's Guide
Microsoft Windows XP Professional Administrators Guide
ISBN: 1931841969
EAN: 2147483647
Year: 2005
Pages: 358

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net