Changing the Hidden Attribute for a File

by Allen Wyatt
(last updated May 8, 2017)

When you create a file in Windows, that file has certain attributes that are associated with it. Sometimes these attributes seem obvious—things like file size and file name come to mind. Other times the attributes are less obvious and more esoteric. Once such attribute controls whether the file is displayed, by default, in Explorer windows. It is called, appropriately enough, the Hidden attribute.

To change the hidden attribute, follow these steps:

  1. Display an Explorer window. (The easiest way is to press Win+E.)
  2. Navigate until you see the file you want to affect.
  3. Right-click on the file and choose Properties from the resulting Context menu. Windows displays the Properties dialog box; the General tab should be visible. (See Figure 1.)
  4. Figure 1. The Properties dialog box for a file.

  5. Use the Hidden checkbox (at the bottom of the dialog box) to specify whether the file should be hidden or not.
  6. Click OK.

When a file is hidden, it is not normally visible in the Explorer window. If you want to have hidden files included in what you see, follow these steps in Windows 7:

  1. Display the Control Panel. (If you are using Windows 7 click the Start menu and then click Control Panel. If you are using Windows 8 press Win+C.)
  2. Click the Appearance and Personalization link.
  3. Click the Show Hidden Files and Folders link (under the Folder Option section). Windows displays the Folder Options dialog box. (See Figure 2.)
  4. Figure 2. The Folder Options dialog box.

  5. Select the Show Hidden Files, Folders, and Drives radio button.
  6. Click OK.

With this setting made, all hidden files are displayed in all Explorer windows. If you are using Windows 8 or Windows 10 you can also follow these steps:

  1. Press Win+E to display an Explorer window.
  2. At the top of the window, click the View tab.
  3. In the Show/Hide group (near the right side of the ribbon), make sure the Hidden Items check box is selected.

 This tip (13078) applies to Windows 7, 8, and 10.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He  is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Preventing the Left Margin of a Footer from Moving

When you print a document, does the position of the page footer seem to move left and right? This could have to do with how ...

Discover More

Creating a New Document in VBA

When working with documents in a macro, it makes sense that you may need to create a document from time to time. Here's how ...

Discover More

Changing an Invalid Autosave Folder

Excel allows you to specify where it stores various files used by the program. One location you can specify is where Autosave ...

Discover More
More WindowsTips

Combining Drives in Storage Spaces

Need to add some addition drive space to your system? Why not consider adding what Windows calls a 'storage space?' This tip ...

Discover More

Creating a List of Files in a Directory

Do you need a list of all the files in a directory? It's easy to create if you use the proper command-line commands.

Discover More

Understanding File Paths

Every file on your disk drive has a unique file path that defines its location. Understanding how file paths work can be ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WindowsTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is five more than 2?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in WindowsTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.