COMPTIA A+ Practice Exam 2026 – 400 Free Practice Questions to Pass the Exam

Question: 1 / 525

Which command sets file attributes in Windows?

attrib.exe

The command that sets file attributes in Windows is attrib.exe. This utility allows users to change the attributes of files and directories, such as setting them to hidden, read-only, or system files. It's a built-in command in the Windows operating system and can be used from the Command Prompt.

Other options provided do not pertain to Windows-specific commands for file attributes. For instance, setattrib.exe and fileattr.exe are not standard commands available in Windows. Chmod.exe is actually a command used in Unix and Unix-like operating systems to manage file permissions, not attributes, making it irrelevant in the context of setting file attributes in a Windows environment.

Get further explanation with Examzify DeepDiveBeta

setattrib.exe

fileattr.exe

chmod.exe

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy