Windows: command line: listing directories or files

Self-tutoring about the Windows cmd: the tutor mentions a trick he read for listing only the directories or only the files.

Using the Windows Command Prompt, I wanted to sharpen dir. Keying in help dir, I read that dir /a:d lists only the directories related to the present one. On the other hand, dir /a:-d lists only the files.

Jack of Oracle Tutoring by Jack and Diane, Campbell River, BC.

Leave a Reply