Xref: utzoo comp.os.msdos.misc:1139 comp.os.msdos.apps:1043 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!rex!uflorida!mlb.semi.harris.com!trantor.harris-atd.com!charybdis!sonny From: sonny@charybdis.harris-atd.com (Bob Davis) Newsgroups: comp.os.msdos.misc,comp.os.msdos.apps Subject: Re: PATH Statement Message-ID: <5510@trantor.harris-atd.com> Date: 14 Feb 91 02:13:58 GMT References: <26883@uflorida.cis.ufl.EDU> Sender: news@trantor.harris-atd.com Reply-To: sonny@trantor.harris-atd.com (Bob Davis) Organization: Advanced Technology Dept., Harris ESS, Melbourne, FL Lines: 41 In article <26883@uflorida.cis.ufl.EDU> jdb@reef.cis.ufl.edu (Brian K. W. Hook) writes: > >Thanks for all the replies for lengthening my path, and here is a summary >and why none of them work. :) > [DELETIONS] >PS Thanks for the help anyway....this is highly annoying. I never need a long PATH. I handle this problem this way: -In AUTOEXEC.BAT I set an Environment variable to my basic standard PATH and then set PATH equal to it: SET STDPATH=C:\;C:\DOS;C:\BIN\DOS;C:\BIN\UNIX;C:\BATCH PATH %STDPATH% -Then when I need to add another deeply embedded directory, I add it momentarily to my path in a batch file, and then return my path to the relatively short standard path. For example, running WordPerfect might be initiated in a batch file C:\BATCH\WP.BAT containing the following lines: @echo off path %path%;C:\LIB\WORDPROC\WP WP path %stdpath% echo on This way my path grows only for the time I am running the application. Then the path is returned to the short standard path. That way you do not have to drag around a lot of excess baggage on your path that is only needed during the running of an application. _____________________________________________________________________________ Bob Davis, UofALA alum \\ INTERNET: sonny@trantor.harris-atd.com | _ _ | Harris Corporation, ESS \\ UUCP: ...!uunet!x102a!trantor!sonny |_| |_| | | Advanced Technology Dept.\\ AETHER: K4VNO |==============|_/\/\/\|_| PO Box 37, MS 3A/1912 \\ VOICE: (407) 727-5886 | I SPEAK ONLY | |_| |_| | Melbourne, FL 32902 \\ FAX: (407) 729-3363 | FOR MYSELF. |_________|