Done Trailing backslashes

Jan 19, 2011
614
15
Norman, OK
Provide a command line switch to output trailing backslashes on directories when output by DIR and TREE commands.

Five years later after my original post and it has shown up on my radar again.
 

samintz

Scott Mintz
May 20, 2008
1,534
22
Solon, OH, USA
While not exactly what you asked for, this could be used get the results you want with PDIR.
Code:
function `addslash=%@if[isdir %1,%1\,%1]`

pdir /h /(@addslash[*])