TIP: Click on subject to list as thread! ANSI
echo: os2
to: Jerry McBride
from: Jonathan de Boyne Pollard
date: 1999-08-31 10:59:18
subject: `DIR` command with 4 digit years and sort option

You're looking for a DIR command that displays 4-digit years and is capable of 
sorting its output ?  Like this, you mean ?

-------------------------------------------------------------------------------
--
0 $z [C:\temp]dir /oe ???.*

The volume label in drive C: is WARP.
The Volume Serial Number is 6c01:ab46.

Directory of: ???.*

1998-09-18 09:27:18          0          0 ____D_ .
1998-09-18 09:27:18          0          0 ____D_ ..
1999-08-02 20:31:06         27          0 _____A aaa.bkp
1999-08-02 20:31:06         35          0 _____A bbb.bkp
1999-08-14 16:24:18         19          0 _____A ccc.bkp
1999-08-18 14:41:04        125          0 _____A ddd.bkp
1999-08-19 14:44:38         61          0 _____A eee.bkp
1999-08-19 14:47:10         49       1496 _____A fff.bkp
1999-08-02 20:32:20         54          0 _____A aaa.cmd
1999-08-02 20:32:38         49          0 _____A bbb.cmd
1999-08-14 16:24:22         18       1168 _____A ccc.cmd
1999-08-23 00:12:56        136          0 _____A ddd.cmd
1999-08-19 14:44:46         70          0 _____A eee.cmd
1999-08-19 14:47:42         58       1520 _____A fff.cmd
1999-08-20 08:06:42         17          0 _____A ggg.cmd
1997-03-16 14:02:10        174       1876 ______ S.CMD
1998-10-12 08:29:04      38697          0 ______ CPP.UUE
          39589 bytes in         17 files found.
          46080 bytes allocated.
     3370648576 bytes free
0 $z [C:\temp]
-------------------------------------------------------------------------------
--

 ¯ JdeBP ®

--- FleetStreet 1.22 NR
114/441
292/854
* Origin: JdeBP's point, using Squish (2:257/609.3)

SOURCE: echoes via The OS/2 BBS

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.