From: miked AT wolfenet DOT com (Michael Donn) Newsgroups: comp.os.msdos.djgpp Subject: Re: Caldera to release DOS source code Date: Fri, 20 Sep 1996 12:31:44 -0700 Organization: CHARM (Curmudgeons Have A Real Mission) Lines: 41 Message-ID: <51urg6$t2r@tofu.alt.net> References: <323D1107 DOT 13D01AF8 AT mail DOT utexas DOT edu> <51jkbn$lrb AT nntp DOT crl DOT com> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp On Mon, 16 Sep 1996 13:20:53 GMT, weiqigao AT crl DOT com (Weiqi Gao) wrote: >"Maan M. Hamze" wrote: >>mwallace AT skyler DOT wiltel DOT com wrote: >>> >>> Cool. >>> >>> Would someone rewrite DOS's dir function to provide a >>> color directory listing, one where directories are one >>> color and filenamess are a different color. :) >>> >>> Mike >>could someone just throw DOS away, and let us all move to Linux and be >>done with it :) >>Just a thought! >The thought behind the Free DOS is exactly that: you can now throw >your MS DOS away, and buy Linux---Linux (at least Caldera) will >include a free DOS that allows you to run all your old DOS programs in >a Linux dosemu session (which will get a big boost when the DOS source >is made public.) Very interesting thread. See below my first attempt at a vanilla-flavored DOS batch program that will give you subdirectories in one color (pink) and files in another (green). It requires ANSI.SYS. The funny looking characters are, of course, the ESC character. @echo off echo  dir /ad %1 echo  pause echo  dir /a-d %1 echo