How to assign "system" flag to a folder? Hide folder in File Explorer?

  1. Posts : 50
    Windows 10

    How to assign "system" flag to a folder? Hide folder in File Explorer?

    Is there a way to assign the "system" flag to a folder in File Explorer (=through GUI)?

    The only way I found so far is a command line command

    attrib +s D:\mysysfld\

    After having assigned this flag the folder is still shown in File Explorer although I enabled "Hide system protected files" in Options of File Explorer.
    In Win7 this works.

    How can I let File Explorer really hide such system folders in Win10?
    This should be achieved through "System" property and NOT with "hidden" flag.
      My Computer

  2. Posts : 34,948
    Win 10 Pro (1903) (2nd PC is 21H2)
      My Computers

  3. Posts : 17,831
    Windows 10

    The command to hide is: attrib +s +h

    the command to un-hide is: attrib -s -h
      My Computer

  4. Posts : 61,562
    64-bit Windows 11 Pro for Workstations

    If you are setting attributes often, the context menu added by the tutorial below can help make it easier to do on demand.

    Add Attributes context menu in Windows 10
      My Computers


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 22:03.
Find Us

Windows 10 Forums