How to hide files based on extension type

Posted on 2010-08-20
Medium Priority
Last Modified: 2012-05-10

i want to hide all files on my windows 7 system that have the file extension .dcm. Does any one know how this can be achieved without manually selecting all files with that extension and marking them as hidden.

It need to be applied to all files and sub directories in the my documents folder
Question by:jamie-at-pfizer
  • 2
LVL 60

Accepted Solution

Bill Prew earned 2000 total points
ID: 33485186
Have you tried this from the command line?

ATTRIB +H "C:\Users\username\Documents\*.dcm" /S


Author Closing Comment

ID: 33485262
Perfect - thank you
LVL 60

Expert Comment

by:Bill Prew
ID: 33486832
Welcome, glad that helped.


Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

With more and more companies allowing their employees to work remotely, it begs the question: What are some of the security risks involved with remote employees and what actions should we take to secure them?
In a question here at Experts Exchange, a member was looking for "a little app that would allow sound to be turned OFF and ON by simply clicking on an icon in the system tray". This article shows how to achieve that, as well as providing the same OF…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question