From: dg AT dcs DOT st-and DOT ac DOT uk Message-Id: <4780.9702040951@dufftown.dcs.st-andrews.ac.uk> To: opendos AT mail DOT tacoma DOT net Subject: Re: [opendos] speeding up command.com In-Reply-To: cwg01@gnofn.org's message of Mon, 03 Feb 97 17:34:15 -0600. Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 04 Feb 97 09:51:36 +0000 Sender: owner-opendos AT mail DOT tacoma DOT net Precedence: bulk >> demon-batch-coder-from-hell and do all your work in COMMAND.COM. > >Hmmm, ya almos de'scribe me! I have 44 batch files on my machine >totaling 77,585 bytes, guess how many of them is _under_ 4k? Yeah. Batch files are cool. With a few little utilities, like awk, you can do great things with them. echo %f% | awk -F\ "{print \"set l=\" $NF}" > %temp%temp.bat call %temp%temp.bat del %temp%temp.bat ...is a useful code scrap I use for extracting the leafname of a directory path. awk is wonderful (even in DOS). [Note: please do *not* cc: replies to me if you're also sending to the list! I get enough mail as it is without getting things twice] -- ------------------- http://www-hons-cs.cs.st-and.ac.uk/~dg -------------------- If you're up against someone more intelligent than you are, do something totally insane and let him think himself to death. --- Pyanfar Chanur ---------------- Sun-Earther David Daton Given of Lochcarron ------------------