• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 471
  • Last Modified:

Windows 7 GUI vs Command Promp

How would one go about including hidden and system files when listing files using Windows 7's GUI vs Command Prompt? What kind of steps are involved in doing this i would like to understand how this works.
1 Solution
kajumbliesAuthor Commented:
i would like to understand how this is supposed to be done
Chris MillardCommented:
in a command prompy, you would type:-

dir /a

This would show all files in the current directory.

If you want all files INCLUDING subdirectories, you would type:-

dir /a /s

AND if you add "/p" then the listing would pause at the end of each "page".

If you wanted to do view all files in Windows Explorer, Click on the Organize menu, then on Folder and Search options. Then, click on the View tab and select "Show hidden files and folders" and UNCHECK "Hide protected operating system files (recommended)"
Steve KnightIT ConsultancyCommented:
Not quite sure which you are wanting.  From a CMD.EXE prompt you can include the hidden and system files from a DIR command with:

dir /ahs

From Windows you use the options within explorer to filter what it shown or set defaults in Control Panel choose Folder Options and under the View tab there (and Advanced I think off hand) you can select Hidden / System files etc.

kajumbliesAuthor Commented:
Thank a lot that really helped me understand and i can compare the two now thanks a lot
In Windows Explorer, first it is useful to click on the Organize button at the top left to pull down that menu, then navigate to the Layout item on the menu and put a check mark next to Menu Bar; that will display the Menu Bar in Explorer (File  Edit  View  Tools Help).  Now click on the Tools menu and choose Folder Options from the menu.  When the Folder Options window opens, click on the View tab and put a dot next to Show hidden files, folders and drives and also remove the check mark next to Hide protected operating system files (recommended).  Now, when you display any folder or drive in Windows Explorer in the right pane all hidden and system files will show up with a blurry icon next to them.

At a Command Prompt (which you can easily get to by typing CMD.EXE after bringing up the Run dialog box by holding down the Windows key and R key simultaneously), you type the following DOS command to show all hidden files in whatever folder you are in:


To show all system files type   DIR  /AS   instead.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now