Thanks.
On either the DIR or PDIR command specify option /OD = "O"rder by "D"ate for
oldest first, or /O-D for newest first. Note that the ordering is only for
files (directory entries) within each directory, so when used with together
with the /S option the ordering is not for the overall list.
Note: by default the "last modified" date is used for both ordering and
display. Use the /T:c or /T:a option for ordering and displaying by creation
or access dates, respectively.
It's all in the HELP!
--
HTH, Steve
The following is an extract from the help display:
/O: (Order) Set the sorting order. You may use any combination
of
the following sorting options; if multiple options are used,
the listing will be sorted with the first sort option as the
primary key, the next as the secondary key, and so on:
- Reverse the sort order for the next option.
... snip ...
d Sort by date and time (oldest first); for drives
which
support long filenames, also see /T.
--
[mail]: Chuck F (cbfalconer at maineline dot net)
[page]: <http://cbfalconer.home.att.net>
Try the download section.