hide certain file types


  1. Posts : 2
    Windows 7 Ultimate x64
       #1

    hide certain file types


    there was a post i found that had almost what i needed.


    Hide all of a certain file type in a folder tree


    i need to hide certain files types in a folder and a set of subfolders, though there is files in there i want to view


    attrib +h *.nfo /s


    however there are jpg files in there i want to hide though i dont want them to be hid system wide.

    is there a way i can hide certain file types in a folder 'only'
      My Computer


  2. Posts : 5,056
    Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
       #2

    Just highlight all the files you want to hide, right click (with the cursor on one of the selected files), click properties, then check the box "Hidden".
      My Computer


  3. Posts : 2
    Windows 7 Ultimate x64
    Thread Starter
       #3

    i have been doing that but there a few subfolders... and doing it to each and everyone of them is a bit time consuming
      My Computer


  4. Posts : 2,009
    Windows 7 Ultimate x86
       #4

    What's wrong with the command you have already:

    attrib +h *.nfo /s
    The switch "/s" applies the command to all subfolders
    just leave it out and only the folder you're in is affected.

    Here is the complete list of options:

    ATTRIB [+R | -R] [+A | -A ] [+S | -S] [+H | -H] [[drive:] [path] filename] [/S [/D]]

    + Sets an attribute.
    - Clears an attribute.
    R Read-only file attribute.
    A
    Archive file attribute.
    S System file attribute.
    H
    Hidden file attribute.
    /S Processes files in all directories in the specified path.
    /D Process folders as well.

    If you want the command only to be applied to certain subfolders...just move all subfolders that shouldn't be touched to a different location (i.e the desktop), run the command and move them back.

    -DG
    Last edited by SledgeDG; 23 Sep 2010 at 12:31.
      My Computer


  5. Posts : 14,606
    Microsoft Windows 7 Home Premium 64-bit 7600
       #5

    I use a software for hiding files and folders,have you considered that option
    this one is free
    HERE
      My Computer


 

  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 15:03.
Find Us