Tuesday, August 4, 2009

ms-dos list files in directory

I just found this on stackoverflow.com and don't want to forget it.

In windows, to list only directories:
dir /ad /b /s


to list all files (and no directories)
dir /a-d /b /s

0 comments:

Post a Comment