You probably already know that you can navigate through folders and view their contents by using the Windows Explorer. Another way to display all the files a folder contains is by using the Command Prompt window. (Accessing the Command Prompt window is covered in this tip.)
At the command prompt, you can navigate through the folders and subfolders by using the CD command to change your current directory. Just follow the command by a space and the name of the directory you want to change to. If the directory name contains spaces, simply surround the directory name with quote marks, as shown in these examples:
CD "my files" CD "c:/my data/word documents/budgeting"
After navigating to the directory using the CD command, you can see what files are contained in the directory by typing the DIR command at the command prompt.
This tip (12033) applies to Windows 7, 8, and 10.
Command Prompt has been around for a while in various versions of Windows. With Windows 10 the Command Prompt window has ...
Discover MoreThe MOVE command can be a timesaver over trying to do the similar sort of thing with File Explorer. You can move hundreds ...
Discover MoreThe copy command can be a timesaver over trying to do the similar sort of thing with Windows Explorer. You can copy ...
Discover MoreFREE SERVICE: Get tips like this every week in WindowsTips, a free productivity newsletter. Enter your address and click "Subscribe."
2017-11-06 18:55:49
Hawkmeister
dir /ah will display all files in the current folder/directory EVEN 'hidden' files.
2017-11-06 10:25:10
Henry Noble
There are several options (switches) for the DIR command. Among the more useful:
DIR /P Pauses after each screenful of data when the list is long
DIR /O Sorts the list with directories before files
Switches can be combined. For example: DIR /O /P
DIR /? Displays the help file for the Dir command
FREE SERVICE: Get tips like this every week in WindowsTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2021 Sharon Parq Associates, Inc.
Comments