Article View: comp.os.msdos.misc
Article #3894Re: [Q] : How to make PATH longer
From: tsalagi
Date: Tue, 06 Feb 1996 00:00
Date: Tue, 06 Feb 1996 00:00
50 lines
2675 bytes
2675 bytes
In article <311238e8.2685430@news.internetmci.com>, tomkat <tomkat@enterway.net> wrote: >On Thu, 01 Feb 1996 22:49:23 GMT, dhensley@connect.net (Dave Hensley) >wrote: > >>On 29 Jan 1996 17:49:57 GMT, John McDougall <johnm> wrote: >> >>>>>>>>Can I extend the length of the PATH somehow ? >>>>Cut your present Path line in about half and on the next line in your >>>>Autoexec.bat type >>>>path %PATH%;c:\etc etc etc >>>>Of course replace the etc's by the rest of your path statement >>>> >>>This will not extend your path. >> >>Uh, yeah it will. If the first path statement in autoexec.bat is: >> >>path c:\123;c:\abc;c:\456;c:\def >> >>and a subsequent statement in autoexec.bat is: >> >>path %PATH%;c:\789;c:\ghi >> >>Then if you type PATH at the DOS prompt, it will return: >> >>path=c:\123;c:\abc;c:\456;c:\def;c:\789;c:\ghi >> >>and your path will indeed have been extended exactly as noted. >> >> >> ____ >> Dave >> >Dave is right. > Yes, but the question is: When does the %PATH% expand itself? Does "path %PATH%;c:\789;c:\ghi" get interpreted as "path=c:\123;c:\abc;c:\456;c:\def;c:\789;c:\ghi" right away, or does it indeed collapse the first path bit down? I think it gets expanded right away.... meaning that using %PATH% does not allow you to have longer paths than just doing it normally. -- Section 1462 of title 18, as amended, states verbatim that the following is criminal: "(b) any obscene, lewd, lascivious or filthy phonograph recording, electrical transcription, or other article or thing capable of producing sound." Presumably, all living creatures capable of producing sound are included, and considered criminals.
Technical Details
Message-ID:
<tsalagiDMDnwC.Gr3@netcom.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<4cd28l$87b@widow.nla.gov.au> <4ej1c5$h0l@kannews.ca.newbridge.com> <311141ec.29851572@news.connect.net> <311238e8.2685430@news.internetmci.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d683,c62afe7bb2540ff X-Google-Attributes: gid10d683,public X-Google-Thread: f53ba,c62afe7bb2540ff X-Google-Attributes: gidf53ba,public X-Google-Thread: 111d31,c62afe7bb2540ff X-Google-Attributes: gid111d31,public X-Google-Thread: 1674b9,c62afe7bb2540ff X-Google-Attributes: gid1674b9,public X-Google-Thread: f71eb,4c4b851412319ff X-Google-Attributes: gidf71eb,public From: tsalagi@netcom.com Subject: Re: [Q] : How to make PATH longer Date: 1996/02/06 Message-ID: <tsalagiDMDnwC.Gr3@netcom.com> X-Deja-AN: 138239351 sender: tsalagi@netcom17.netcom.com references: <4cd28l$87b@widow.nla.gov.au> <4ej1c5$h0l@kannews.ca.newbridge.com> <311141ec.29851572@news.connect.net> <311238e8.2685430@news.internetmci.com> organization: Not yet. Gotta find some Diet Jolt first. newsgroups: comp.os.msdos.misc,comp.binaries.ibm.pc.wanted,comp.archives.msdos.d,comp.sys.ibm.pc.misc,aus.computers.ibm-pc