Usage to list all folders and files in the current directory: dir
dir
A target directory can also be specified: dir C:\TargetPath
dir C:\TargetPath
When specifying a path with spaces, it must be surrounded by quotes: dir "C:\Path With Spaces"
dir "C:\Path With Spaces"