Windows – Hiding files/folders which begin with a full stop (period)

windows 7windows-explorer

Windows does not use the dot-file convention for hidden files. However, many Windows applications (mostly opensource/cross-platform) use files and folders with this convention. How can I make Windows Explorer automatically hide these dot-files?

Best Answer

ATTRIB +H /s /d C:\.* is the command to hide anything, directories included that start with a dot

This won't list the files (as stated below), but will hit every file it can access, and apply the Hidden attribute.

Once this is done, you can make sure that the Folder Options are set to hide hidden files. Click on Start, type folder options and press Enter. Click on the View tab, then choose Don't show hidden files, folders, or drives under Files and Folders \ Hidden files and folders. Hit Apply, then OK (or just OK).

Related Question