Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!pt.cs.cmu.edu!sei!gjp From: gjp@sei.cmu.edu (George Pandelios) Newsgroups: comp.sys.ibm.pc Subject: DOS 3.30 PATH and Environment lengths Keywords: Please HELP: What's wrong with this picture? Message-ID: <3695@i.sei.cmu.edu> Date: 26 Jul 89 12:01:54 GMT Organization: Carnegie-Mellon University (Software Engineering Institute), Pgh, PA Lines: 103 Greetings Netlanders! I'm having trouble setting my PATH to a length larger than an small (127?) number of characters. According to the DOS 3.3 manual, that is suppossed to automatically expand. Is this really a hard limit? A mistake on my part? I've changed the SHELL command (as someone posted here before - I'm sorry I don't remember who) to bump up the environment area size. There seemed to be no effect on PATH. Anyway, what follows are edited copies of CONFIG.SYS and AUTOEXEC.BAT. Please help me get a longer PATH. I think the Environment area is OK. -----------------------------CONFIG.SYS-------------------------------- COUNTRY=001 BREAK=ON DEVICE=VEMMSIME.SYS M=24 DEVICE=VEMM.SYS D=24 DEVICE=ANSI.SYS DEVICE=VDISK.SYS 384 512 64 /E HANDLES=20 FILES=23 LASTDRIVE=H BUFFERS=20 STACKS=10,128 SHELL=COMMAND.COM/E:512/P ----------------------------------------------------------------------- -----------------------------AUTOEXEC.BAT------------------------------ Note: I added the carriage return in the middle of the PATH statement so that it would fit within 80 characters. ECHO **************************************************************** ECHO ** Establish the PATH to search for programs on this system. ** ECHO **************************************************************** PATH F:\;C:\;C:\PCTOOLS;C:\SEDT;C:\BIN;C:\MOUSE;C:\UTIL\PROCOM;C:\TP; C:\MYM;C:\SMART;E:\;E:\TC;E:\TASM;E:\MASS11;E:\GEORGE\A86;E:\M2; REM ^this part gets REM left off if I REM do a SET command ECHO **************************************************************** ECHO ** Load the LIMS Extended Memory drive. ** ECHO **************************************************************** VEMMCONF C: /E REM CHKDSK C: CHKDSK D: CHKDSK E: CHKDSK F: REM ECHO **************************************************************** ECHO ** Load the user programs: assemblers, compilers, word ** ECHO ** processors, utilities, and other programs into the ** ECHO ** environment. All user programs are loaded here. ** ECHO **************************************************************** SET SEDT=C:\SEDT\ SET PROCOMM=C:\UTIL\PROCOM\ SET M11DFALT=E:\MASS11\M11DFALT.DAT SET M11KBRD=DEC SET TPC=C:\TP\ SET TURBO=C:\TP\ SET A86=E:\GEORGE\A86\ SET M2=E:\M2\ REM ECHO **************************************************************** ECHO ** Make DOS commands resident within extended memory. ** ECHO **************************************************************** COPY C:\COMMAND.COM F: SET COMSPEC=F:\COMMAND.COM CLS VER REM ----------------------------------------------------------------------- That's the whole mess, less some TSR installations, extraneous commands, and comments. I've already looked at the DOS 3.3 manual, the "DOS Power User's Guide", and the "IBM PC-DOS Handbook" with no real results: 1. Yes, I know I can do a SUBST command, but I would prefer another, cleaner way (if possible). 2. Yes, I know the SHELL command can expand the environment (I've already got it upto 512 (see above). Please, no flames for overtly stupid settings - VAX/VMS is my forte. But I sure would appreciate hearing some guidance from a few of you experts out there. If you wish, email to me and I will summarize. Thanks, George =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= George J. Pandelios ArpaNet: gjp@sei.cmu.edu Software Engineering Institute usenet: sei!gjp 4500 Fifth Avenue Voice: (412) 268-7186 Pittsburgh, PA 15213 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= "YoyoDyne Propulsion Systems: Where the Future begins Tomorrow" =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Disclaimer: These opinions are my own and do not reflect those of the Software Engineering Institute, its sponsors, customers, clients, affiliates, or Carnegie-Mellon University. In fact, any resemblence of these opinions to any individual, living or dead, fictional or real, is purely coincidental. So there. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=