Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!mit-eddie!genrad!decvax!tektronix!tekgen!tektools!gvgpsa!gvgspd!mrk From: mrk@gvgspd.UUCP (Michael R. Kesti) Newsgroups: comp.sys.ibm.pc Subject: Re: DOS patches Message-ID: <263@gvgspd.UUCP> Date: Sun, 31-May-87 15:45:40 EDT Article-I.D.: gvgspd.263 Posted: Sun May 31 15:45:40 1987 Date-Received: Tue, 2-Jun-87 03:23:26 EDT References: <923@wjvax.wjvax.UUCP> Reply-To: mrk@gvgspd.UUCP (Michael R. Kesti) Organization: Grass Valley Group, Grass Valley, CA Lines: 46 In article <923@wjvax.wjvax.UUCP> curl@wjvax.UUCP (Jim Curl) writes: >I'm looking for ways to patch DOS in order to do two things: > > (1) I'd like to be able to have a longer PATH than the 128 or so > characters now allowed -- this limitation might be a function > of my editor? > > (2) I'd like to be able to expand the type-ahead keyboard buffer. > >If anyone knows about these, please mail or post responses. > >Thanks, > >Jim Curl >(I *hate* DOS!) Jim: The 128 byte limit is, I believe, the maximum command line length. You can extend the path up to the limit of the environment size with: SET PATH=%PATH%;new_directories Note that this works only from within a batch file; from the command line, DOS doesn't expand the %PATH% properly. I like to keep a batch file called ADDPATH.BAT that contains the single line: SET PATH=%PATH%;%1 To call this from AUTOEXEC.BAT (or any other batch file), use: COMMAND /C ADDPATH new_directory To expand the keyboard buffer, try VISITYPE from the 28 OCT 86 (vol 5 no 18) issue of PC Magazine. It provides an 80 character buffer and displays the yet-to-be-used characters on the first line of the display, so that you can actually SEE what you've entered. Get it from their BBS at (216)696-0360. MK P.S. I *love* DOS. It gives one so many opertunities to say "Now why in hell didn't that work (:-)?"! =================================================================== Michael Kesti Grass Valley Group, Inc. P.O. Box 1114 Grass Valley, CA 95945 UUCP: ...!tektronix!gvgp Awhichrd S@wj