answersLogoWhite

0

The /S switch will cause DIR to include all directories below the current directory or the one specified. In order to show the contents of the entire drive, run DIR /S from the root directory (DIR /S/P to show one screen at a time) or from anywhere run:

for the C: drive, DIR /S C:\*.*

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What switch to the LS command lets you view a list of files and their type?

syntax: ls -aF -a option is for hidden files -F is for directories and executable files


What is the command to list all files and sub directories in a directory?

DIR


Write command to show all files and directories?

If you want everything, start at the root directory and issue the command: ls -R


Which Linux command will delete a directory as well as all its files and sub directories?

rm -rv /path/to/directory


Unlock files in directory using dos commands?

Dos commands are used to create or delete directories. The ATTRIB Command is used for locking and unlocking of files.


In ms dos which command can sort files in a directory list?

dir Lists all files and directories in the directory that you are currently in. dir /ad List only the directories in the current directory. If you need to move into one of the directories listed use the CD command. dir /s Lists the files in the directory that you are in and all sub directories after that directory, if you are at root "C:\>" and type this command this will list to you every file and directory on the C: drive of the computer. dir /p If the directory has a lot of files and you cannot read all the files as they scroll by, you can use this command and it will display all files one page at a time. dir /w If you don't need the info on the date / time and other information on the files, you can use this command to list just the files and directories going horizontally, taking as little as space needed. dir /s /w /p This would list all the files and directories in the current directory and the sub directories after that, in wide format and one page at a time. dir /on List the files in alphabetical order by the names of the files. dir /o-n List the files in reverse alphabetical order by the names of the files. dir \ /s |find "i" |more A nice command to list all directories on the hard drive, one screen page at a time, and see the number of files in each directory and the amount of space each occupies. dir > myfile.txt Takes the output of dir and re-routes it to the file myfile.txt instead of outputting it to the screen.


How do you copy all files in a directory without copying sub directories using FTP?

All files in a directly can be copied without copying the sub directories using FTP by first highlighting them. This allows a user to specifically select only the files they want to transfer. If you are doing this via the command line interface using the mget command with a mask (such as *) will transfer all files except subdirectories.


What is the significance of the keyword 'mv' in the context of the Linux command 'mv r'?

In the context of the Linux command 'mv r', the keyword 'mv' stands for 'move', indicating that the command is used to move or rename files or directories.


How do you remove a full directory in Linux?

To remove a directory that is full with other files or directories, use the below command. rm -rf directory


How do I view the contents of C drive?

You can use the Microsoft explorer program to view directories, subdirectories and files that you have security access to view. Their are also file manager and file viewer utilities such as midnight commander that work similarly to explorer but have added capabilities including the ability to view two sets of files or directories at the same time. Some even allow selecting and comparing two files or two directories to see how two files with the same name are different.You can also use the command prompt to list and look at files and directories.


What is the switch that is used to make sure that the COPY command copied files correctly?

/v


Which command should a technician use on a PC to restore protected system files with known good version?

A computer technician should use the SFC /scan now command on a PC to restore protected system files with known good versions. This command scans system files, and will replace corrupted files.