DIR /s/o
Gives:
Directory of C:\CABS\Winxp\Dx9
05/21/2006 11:35 AM <DIR> .
05/21/2006 11:35 AM <DIR> ..
05/21/2006 11:35 AM 11,871,576 DX9NT.exe
05/21/2006 11:35 AM 450 INSTALLF.INI
05/21/2006 11:35 AM 450 INSTALLS.INI
05/21/2006 11:35 AM 450 INSTALLU.INI
05/21/2006 11:35 AM 553,984 PINSTALL.EXE
05/21/2006 11:35 AM 387 scriptit.scp
05/21/2006 11:35 AM 224 SRCD.es
05/21/2006 11:35 AM 224 SRCD.fr
05/21/2006 11:35 AM 236 SRCD.ini
9 File(s) 12,427,981 bytes
DIR /? for a list of all the tags.
HTH
Pop
In news:(E-Mail Removed),
Pegasus (MVP) <(E-Mail Removed)> typed:
> "Claudia Miller" <(E-Mail Removed)> wrote in message
> news:44cdf9e4$0$24904$(E-Mail Removed)...
> > I want to list all files in a whole directory tree.
> > They should be sorted by their filenames EXCLUDING (!) the
> > path.
> >
> > If I type e.g.
> >
> > dir /A /S /B
> >
> > all files are listed but they are sorted including the
> > prepended
> > path part.
> >
> > How can I omit/suppress the path and list only the files (and
> > sort
> > them) ?
> >
> > I consider a DOS command (under Win2000/WinXP) or
> > alternatively
> > an external utility is acceptable as well as long as it works
> > at
> > the command prompt.
> >
> > Claudia
> >
>
|