in reply to Re: Re: Re: finding top 10 largest files
in thread finding top 10 largest files

dir /A-D /O-S /S
Good try, but that only sorts them within directories. Files are still grouped by directories first, then sorted by filesize. [At least, not on my win2K, ver 5.00.] -QM

-QM
--
Quantum Mechanics: The dreams stuff is made of

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: finding top 10 largest files
by rje (Deacon) on Feb 04, 2004 at 14:33 UTC
    ++QM

    That's what I get for posting off the cuff. Still, there ought to be a way to leverage such listings for sorting purposes -- the filesize is listed before the filename: all you'd have to do in the DOS world is lop off the timestamps in front and tweak a bit, then perl's sort() should work like a charm. Nice and compartmentalized, yes?