Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Show files by date

2 views
Skip to first unread message

WhiteTea

unread,
Feb 10, 2009, 7:11:28 AM2/10/09
to
Is there a way to show files by date using 4dos?
I am trying to get a file listing sorted by date.

Thanks.

Steve Fabian

unread,
Feb 10, 2009, 7:31:01 AM2/10/09
to
WhiteTea wrote:
| Is there a way to show files by date using 4dos?
| I am trying to get a file listing sorted by date.

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


CBFalconer

unread,
Feb 10, 2009, 6:56:55 PM2/10/09
to
WhiteTea wrote:
>
> Is there a way to show files by date using 4dos?
> I am trying to get a file listing sorted by date.

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.

0 new messages