"Offering free computer help, hints, and tips to the Internet populace." Now with over 3,820 tips!

Windows XP and DOS

Display Hidden Files at the DOS Prompt

SUMMARY: View files Windows may be trying to hide via the DOS prompt.

By default, Windows hides files that it deems are system critical. In theory, hiding files keeps them from accidently being modified or deleted through Explorer.

However, there may be times when you need to display lists of such files, such as for system troubleshooting purposes. To do so, from the DOS prompt, type in one of the following commands:

* Display system files: DIR /AS

* Display hidden files: DIR /AH

* Display files with the system and hidden attributes set: DIR /ASH

This tip also works for other versions of Windows including Windows Vista, 95, 98, Me, NT 4.0, and 2000.

Protected and hidden files can be viewed through Explorer as well by toggling options in the the "View" tab in Explorer's "Tools" - "Folder Options" menu.

Return to the Windows XP and DOS page.

Print this tip

Get the Newsletter

blog comments powered by Disqus

Thanks For Sharing!

Newest Tips:

Buying a Digital Camera
[MODIFIED] Hidden Costs with Higher Megapixel Cameras
Windows 8
Resize Start Screen Tiles
Internet Explorer 11
Change the Default Search Provider to Google, Yahoo!, or Something Else
[MODIFIED] Disable Most Recently Used Files and Folders for Privacy

Follow Us!

About MalekTips and the Author

The MalekTips website was created in 1998 by Andrew Malek of Envision Programming. The page's goal is to freely disperse computer-related tips, hints, and informative articles. Tips are organized to be easy to find, and are presented clearly, in easy-to-understand language. MalekTips also provides information and links to public-domain, open source, freeware, shareware, and commercial software available for download.