Use the undocumented switch /V of the DIR command to produce formatted output.
(WARP 4 only!)
Source: Team OS/2 WEB pages