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


  1. Posts : 69
    Windows 10
       #1

    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 : 42,983
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #2
      My Computers


  3. Posts : 17,838
    Windows 10
       #3

    The command to hide is: attrib +s +h

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


  4. Posts : 68,921
    64-bit Windows 11 Pro for Workstations
       #4

    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 14:12.
Find Us




Windows 10 Forums