Dir (Command Line)
Shows a list of all the files and subprojects in the specified project, or in the current project. This command is available only from the command line. For definitions of the command options, seein this Help system.
The Dir command sets the operating system exit code for use in batch files and scripts.
Using Dir with the -E option is similar to using the Status command line command. Note, however, that Status shows only files that are checked out, while Dir with -E shows all files, but notes the file checkout status where applicable.