The attrib command displays or changes the file attributes for a file or folder. It is run from the command prompt in all versions of Windows.
Windows Command Line Guide – 1 – Introduction to the Command Prompt
The attrib command is available through the Command Prompt in all Windows operating systems including Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, and older versions of Windows.
All of the offline diagnostic and repair tools available with the different versions of Windows, including Advanced Startup Options, System Recovery Options, and Recovery Console, also include attrib in some way.
This attrib command is also available in MS-DOS as a DOS command.