write ms-dos command to list all the files and folders of EIGHT sub directory of C: drive in ascending
order according to file name?
Answers
Answer:
The dir command displays information about files and directories, and how much disk space is available. By default, it displays the name, size, and last modification time of every file in the current directory.
Availability
Dir is an internal command available in the command line of all Microsoft operating systems.
All Versions of MS-DOS
Windows 95
Windows 98
Windows ME
Windows NT
Windows 2000
Windows XP
Windows Vista
Windows 7
Windows 8
Windows 10
Description
The dir command displays a list of files and subdirectories in a directory. With the /S option, it recurses subdirectories and lists their contents as well.
Options listed below may be preset in the DIRCMD environment variable. To override preset options, prefix any switch with - (hyphen), for example, "/-W".
Syntax
The syntax of the dir command has evolved somewhat over time. Select your operating system to jump to the information that applies to your version.
Windows 10, 8, 7, Vista, XP, and 2000 syntax.
Windows ME, 98, 95, 3.x, and MS-DOS syntax.