What does "attrib.exe" mean in CMD? RRS feed

  • Question

  • Hello Everybody,

    If you run Command Prompt and type "attrib.exe" (without quotes), a super long list shows up. Can someone please explain to me what it is a list of? That would be much appreciated.



    Thursday, July 3, 2014 9:20 PM


All replies

  • That tells you the file attributes for the files in the current directory. Type

    attrib /?

    for more information.

    Hint: You can also search for useful information like this:

    There's no need to be helpless.

    -- Bill Stewart [Bill_Stewart]

    Thursday, July 3, 2014 9:48 PM
  • Not a scripting question (scripting = creating programs using a script language) but here is an answer anyway: Type  attrib.exe /? to see what the command does.

    Thursday, July 3, 2014 9:49 PM
  • Official page of Attrib on technet

    "Displays, sets, or removes the read-only, archive, system, and hidden attributes assigned to files or directories. Used without parameters, attrib displays attributes of all files in the current directory."

    Thursday, July 3, 2014 10:11 PM