There are a number of ways in Windows to hide files. In the dark ages of MS DOS, there was the 'attrib' command, which was able to set or remove the 'hidden' attribute (along with several others). In all modern Windows versions, the 'attrib' command is still available. You can use it from the command prompt. Microsoft keeps it for:
- backward compatibility;
- scripting attributes with batch files;
- historical purpose.
However, that console command isn't the only way to hide files and folders. Windows Explorer has a similar checkbox option in the properties of a file. Even in File Explorer of Windows 8.1 it is still available: