Wednesday, January 27, 2010

Display Hidden Files at 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:
1. Display system files: DIR /AS

2. Display hidden files: DIR /AH

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

4. If the list is too long to see all the files you can use: DIR /ah/p/w


Post a Comment