Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Hide all of a certain file type in a folder tree


30 Apr 2010   #1

Windows 7, Ubuntu, Windows XP, gOS
 
 
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 System SpecsSystem Spec
.

30 Apr 2010   #2

Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
 
 

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 System SpecsSystem Spec
30 Apr 2010   #3

Windows 7, Ubuntu, Windows XP, gOS
 
 

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 System SpecsSystem Spec
.


30 Apr 2010   #4

Windows 7
 
 

Quote   Quote: Originally Posted by WindowsStar View Post
attrib +h *.nfo /s
Quote   Quote: Originally Posted by WindowsStar View Post

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 System SpecsSystem Spec
30 Apr 2010   #5

Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
 
 

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 System SpecsSystem Spec
30 Apr 2010   #6

Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
 
 

Quote   Quote: Originally Posted by 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"
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 System SpecsSystem Spec
30 Apr 2010   #7

Windows 7
 
 

Quote   Quote: Originally Posted by WindowsStar View Post
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 System SpecsSystem Spec
30 Apr 2010   #8

Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
 
 

Thanks for the explanation.
My System SpecsSystem Spec
18 Oct 2011   #9

Windows 7
 
 
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 System SpecsSystem Spec
19 Jul 2012   #10

Windows 7 Professional x64
 
 
Show all of a certain file type in a folder tree

Quote   Quote: Originally Posted by WindowsStar View Post

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?
My System SpecsSystem Spec
Reply

 Hide all of a certain file type in a folder tree




Thread Tools




Our Sites

Site Links

About Us

Find 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 09:40 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33