다음을 통해 공유


ATTRIB (Windows CE 5.0)

Send Feedback

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

Command Processor Commands | Command Processor Shell

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.