Windows 7 GUI vs Command Promp

Posted on 2011-05-08
Last Modified: 2012-06-27
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.
Question by:kajumblies

    Author Comment

    i would like to understand how this is supposed to be done
    LVL 17

    Accepted Solution

    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)"
    LVL 43

    Expert Comment

    by:Steve Knight
    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.


    Author Closing Comment

    Thank a lot that really helped me understand and i can compare the two now thanks a lot
    LVL 59

    Expert Comment

    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:

    DIR /AH

    To show all system files type   DIR  /AS   instead.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Being a system administrator some time we require to do things remotely, one of them is installing software. Here I am going to tell you how to install software through wmic (Windows management instrument console). I am not at all saying that this i…
    The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
    This Micro Tutorial will teach you the basics of configuring your computer to improve its speed. It will also teach you how to disable programs that are running in the background simultaneously. This will be demonstrated using Windows 7 operating…
    The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now