Sunday, June 07, 2020

Can You Get Windows Command Prompt's dir to Give Output Like Unix ls?

GTK : If you do > command /? you get the help for that command

Answer :

> dir /D          # files sorted column first
> dir /W         # files sorted row first (that is, it'll be file1 file2 .. and then the next row starts)

the D/W can be lower case as well :)

No comments: