Partager via


ATTRIB (Windows Embedded CE 6.0)

1/6/2010

This command displays or changes the attributes of a file.

ATTRIB [+R | -R] [+A | -A] [+S | -S] [+H | -H] [[path] file_name] [/S]

Parameters

  • +R
    Sets the read-only file attribute.
  • -R
    Clears the read-only file attribute.
  • +A
    Sets the archive file attribute.
  • -A
    Clears the archive file attribute.
  • +S
    Sets the system file attribute.
  • -S
    Clears the system file attribute.
  • +H
    Sets the hidden file attribute.
  • -H
    Clears the read-only attribute.
  • path
    Specifies the path to the file for which you want to display or change the attributes.
  • file_name
    Specifies the name of the file for which you want to display or change the attributes.
  • /S
    Processes all files that match the file_name parameter in the current directory and all subdirectories of the current directory.

See Also

Reference

Command Processor Commands

Concepts

Command Processor Shell