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: Is there a way to change the properties of a file extension?

29 Jan 2012   #1

Windows 7 Home Premiun 64bit
 
 
Is there a way to change the properties of a file extension?

Is there a way to change the properties of a file extension? As an example: I would like "all" .txt files to be hidden.

Thanks


My System SpecsSystem Spec
.

29 Jan 2012   #2
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello Rwmol,

You could use the command below to set all .txt files on say the C: drive to be hidden. It will not hide any .txt files that are considered to be Windows 7 system files due to access denied though, but it will all other .txt files found on the C: drive.

If you like, you could substitute C with any drive letter that you would like to hide .txt files in, or substitute C:\ with the full path of a specific folder that you would like to hide all .txt files in it and it's subfolders.

File and Folder - Hide or Unhide

ATTRIB +H "C:\*.txt" /S /D


Hope this helps,
Shawn
My System SpecsSystem Spec
29 Jan 2012   #3

Windows 7 Home Premiun 64bit
 
 

Thanks Shawn. That's exactly what I needed.

RM
My System SpecsSystem Spec
.


29 Jan 2012   #4
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

You're most welcome RM.
My System SpecsSystem Spec
Reply

 Is there a way to change the properties of a file extension?




Thread Tools



Similar help and support threads for2: Is there a way to change the properties of a file extension?
Thread Forum
Solved Need to know how to: Change properties to .sfk file back to normal BSOD Help and Support
File Details Properties - Add, Change, or Remove Tutorials
Change file extension upper/lower case General Discussion
Solved cant change the properties of a file to 'open with' nothing General Discussion
Can't change any file properties, error 0x80004005 BSOD Help and Support
Can't change any file properties, error 0x80004005 Sound & Audio
certain extension wont delete or show properties Music, Pictures & Video

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:19 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