SyntaxFix
Write A Post
Hire A Developer
Questions
The full command is:
dir /b /a-d
Let me break it up;
Basically the /b is what you look for.
/b
/a-d will exclude the directory names.
/a-d
For more information see dir /? for other arguments that you can use with the dir command.
dir /?
dir