Hide all of a certain file type in a folder tree

Page 1 of 2 12 LastLast

  1. Posts : 8
    Windows 7, Ubuntu, Windows XP, gOS
       #1

    Hide all of a certain file type in a folder tree


    Hey there. I have a media library with, surprisingly enough, media in it! Videos to be exact. Each of the sub-folders have in them videos as well as .nfo files for displaying data awesomeness in the likes of XBMC. However, I do not like the way it makes my folders look when I browse to them in explorer.

    Is there a way to hide all my *.nfo files only in the Video folder and subfolders?
      My Computer


  2. Posts : 2,737
    Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
       #2

    Open an elevated command prompt and navigate to your video directory type:

    attrib +h *.nfo /s

    This will hide the files, however if you have show hidden files turned on they will still show up.
      My Computer


  3. Posts : 8
    Windows 7, Ubuntu, Windows XP, gOS
    Thread Starter
       #3

    Thanks a bunch for the quick reply. This has got to be one of the most helpful forums I have ever been a part of. Everyone here seems so nice and friendly and helpful. Kudos to sevenforums!
      My Computer


  4. Posts : 2
    Windows 7
       #4

    WindowsStar said:
    attrib +h *.nfo /s
    WindowsStar said:

    This will hide the files, however if you have show hidden files turned on they will still show up.
    There exist an context menu extension (right mouse click menu) "Right-Click Extender" that integrates two additional options: "Show hidden files and folders" and "Hide hidden files and folders". With this extension you easily can switch between these two views.
      My Computer


  5. Posts : 2,737
    Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
       #5

    Murdlih; you are most welcome. Everyone here is very nice and very helpful. We all enjoy learning so it is fun for everyone.

    I forgot to mention if you need to see the files you just need to change the + to a - and that will make them visible again.

    attrib -h *.nfo /s
      My Computer


  6. Posts : 2,737
    Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
       #6

    Powerpixel;711352There exist an context menu extension (right mouse click menu) "[URL="http://www.thewindowsclub.com/right-click-context-menu-extender-for-windows-7-released" said:
    Right-Click Extender[/URL]" that integrates two additional options: "Show hidden files and folders" and "Hide hidden files and folders". With this extension you easily can switch between these two views.
    That is nice, will it change let you make changes like *.ext? From the context menu? Does it support applying to subfolders?
      My Computer


  7. Posts : 2
    Windows 7
       #7

    WindowsStar said:
    will it change let you make changes like *.ext? From the context menu? Does it support applying to subfolders?
    No. It's the same function like going through "Organize" -> "Folder and search options" -> "View" -> "Hide files and folders" -> Show/don't show "hidden files, folders, and drives".
    This means: Not for single file extensions, not for single files, not for single folders or subfolders, but for whole PC.
      My Computer


  8. Posts : 2,737
    Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
       #8

    Thanks for the explanation.
      My Computer


  9. Posts : 1
    Windows 7
       #9

    Thank You!


    It took me 60 minutes to find a website (this one) that had the solution to my problem, and 30 seconds to fix it...

    A Big Thanks!
      My Computer


  10. Posts : 11
    Windows 7 Professional x64
       #10

    Show all of a certain file type in a folder tree


    WindowsStar said:

    attrib +h *.nfo /s
    Thank you for this command. It allowed me to hide all *.wbk files on my drive. I now wonder which command I need to make them visible again if need should arise.

    Many thanks!

    2)
    How to automatically hide all of a certain file type in a folder tree?

    I ask because I have just noticed that when I open WORD files that the newly generated WBK-files are visible. I foolishly hoped that they would automatically be hidden too. Is there anything that I can do about it without repeating the manual command prompt all the time?
    Last edited by FranklinBoyce; 19 Jul 2012 at 10:40. Reason: Added additional questions
      My Computer


 
Page 1 of 2 12 LastLast

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

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