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
rwmol

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
Brink
Microsoft MVP

64-bit Windows 10 build 10122
 
 

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
rwmol

Windows 7 Home Premiun 64bit
 
 

Thanks Shawn. That's exactly what I needed.

RM
My System SpecsSystem Spec
.


29 Jan 2012   #4
Brink
Microsoft MVP

64-bit Windows 10 build 10122
 
 

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
Thread Forum
File Details Properties - Add, Change, or Remove
How to Add, Change, or Remove File Details Properties in Windows 7 File properties are details about a file, such as authors, tags, date taken, etc... Some or all of these file details may be displayed in the Details pane in Windows Explorer when you select the file. Properties make your...
Tutorials
Need to know how to: Change properties to .sfk file back to normal
Now, I did something pretty stupid. All my .sfk files (Which help WMP open all my .mp3 .avi .wav EVERYTHING open) are changed to open with iTunes. This was a stupid mistake, and I don't know how to change the properties to default again. Anyone that knows what to do? Please, tell me all known...
BSOD Help and Support
Change file extension upper/lower case
Everyday I upload some files to my website and to simplify my website operations, I use the same filename and just upload a file with new information every day. The case of file extensions is of no consequence to Windows 7, but it matters to my website. I want to standardize on one case and it...
General Discussion
cant change the properties of a file to 'open with' nothing
Hi I was trying to figure out how to open and edit a dosbox.conf file, ive worked it out now, use notepad. But in the process of figuring it out, i changed the properties of all my .conf files to open with dosbox. I want to set it so nothing is selected as the default opening device. But i...
General Discussion
Can't change any file properties, error 0x80004005
Hi there, I was trying to change a mp3 file properties > details, but it won't let me. There is nothing listed. When looking in explorer, it shows no album information or title. It does it with video files as well, so I am assuming all properties. When I do change something from the...
BSOD Help and Support
Can't change any file properties, error 0x80004005
Hi there, I was trying to change a mp3 file properties > details, but it won't let me. There is nothing listed. When looking in explorer, it shows no album information or title. It does it with video files as well, so I am assuming all properties. When I do change something from the...
Sound & Audio

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 08:03.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App