How to hide files based on extension type

Hello,

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
jamie-at-pfizerAsked:
Who is Participating?
 
Bill PrewConnect With a Mentor Commented:
Have you tried this from the command line?

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

~bp
0
 
jamie-at-pfizerAuthor Commented:
Perfect - thank you
0
 
Bill PrewCommented:
Welcome, glad that helped.

~bp
0
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.

All Courses

From novice to tech pro — start learning today.