answersLogoWhite

0

What is the command to view the contents of a directory?

Updated: 8/18/2019
User Avatar

Wiki User

14y ago

Best Answer

Go to the directory by "CD" command say "CD MyDoc" and press enter.. Now run "dir" command to see the contents of the directory..

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the command to view the contents of a directory?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the Linux command used to list the contents of a directory?

ls will list the contents of a directory.


What dos command display the contents of a directory?

DOSEXAFTERBREAKFAST


What command is used to list the contents of a directory recursively in Unix?

ls -lR directory


What is used to see the contents of a directory in Unix?

The ls command.


What does DIR in the DIR DOS command stand for?

DIR is used to list the contents of a directory.


Which command is used to see the content of file?

You can get a list of all the files in the current directory with the "ls -a" command.


Which command pauses after displaying a screens worth of directory contents?

Dir/p


What is the difference between ls and vdir command in Unix?

ls is the default command that lists the contents of a directory. vdir is a common alias for the command: ls -al That command lists the contents of a directory as well as information about the file such as owner, group, file size, permissions, last modified, etc.


Why did the rmdir command fail's that a directory bar exists. The command rmdir bar fails with the message that the directory is not empty. On running ls bar no files are displayed?

This could mean that the directory named bar has hidden contents. Use ls -a bar to show all contents of bar.


Which command enables you to view the contents of a folder?

dir


What is the DOS copy command to copy a complete directory to multiple 3.5 inch floppies?

To copy directory, you need to run xcopy command.. You can not copy directory with copy command.. xcopy c:\*.* /s/e a:\ This will copy entire contents to A drive..


Can command rmdir can be used to delete a directory that is not empty?

the commandrmdir will not remove a directory if it is not empty in UNIX. The correct way to remove a directory and all its contents recursively is with the rmcommand.