DIR Command - csangharsha/DOSTerminal GitHub Wiki
DIR Command
List the sub-directories(if any) and files(if any)
DIR with no Attributes
dir
:
List all the files and directories inside root directory
dir directory_name
:
List all the files and directories inside the sub-directory (with given name) of root directory
DIR With Attributes
dir -a
:
(same as dir) List all the files and directories inside root directory
dir -d
:
List only the directories, not the files
dir -f
:
List only the files, not the directories
dir directory_name -a
:
(same as dir directory_name) List all the files and directories inside the sub-directory (with given name) of root directory
dir directory_name -d
:
List only the directories, not the files inside the sub-directory (with given name) of root directory
dir directory_name -f
:
List only the files, not the directories inside the sub-directory (with given name) of root directory