![]() |
|
|
Welcome to the { mindfrost82.com } forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Adding to a Path in DOS?
Hello,
I have an existing path: c:\>PATH=C:\Program Files\HP\NCU;C:\Program Files\Support Tools\; I want to add F:\bea\jdk141_05\bin> to it. If I just say Path=F:\bea\jdk141_05\bin; it will overwrite all the other path info. How do I get it just to add to the end, and only for this session. After the reboot, i do not need it again. Thanks, Tmuld. |
|
|||
|
Re: Adding to a Path in DOS?
why not: set path=C:\Program Files\HP\NCU;C:\Program Files\Support
Tools\;F:\bea\jdk141_05\bin; "Tmuldoon" <tmuldoon@spliced.com> wrote in message news:ee9eeefc-deb1-453f-94fa-fdd25d544bc2@l17g2000pri.googlegroups.com... > Hello, > > I have an existing path: > > c:\>PATH=C:\Program Files\HP\NCU;C:\Program Files\Support Tools\; > > I want to add > > F:\bea\jdk141_05\bin> > > to it. > > If I just say Path=F:\bea\jdk141_05\bin; > > it will overwrite all the other path info. > > How do I get it just to add to the end, and only for this session. > After the reboot, i do not need it again. > > Thanks, > > Tmuld. |
|
|||
|
Re: Adding to a Path in DOS?
"Tmuldoon" <tmuldoon@spliced.com> wrote in message news:ee9eeefc-deb1-453f-94fa-fdd25d544bc2@l17g2000pri.googlegroups.com... > Hello, > > I have an existing path: > > c:\>PATH=C:\Program Files\HP\NCU;C:\Program Files\Support Tools\; > > I want to add > > F:\bea\jdk141_05\bin> > > to it. > > If I just say Path=F:\bea\jdk141_05\bin; > > it will overwrite all the other path info. > > How do I get it just to add to the end, and only for this session. > After the reboot, i do not need it again. > > Thanks, > > Tmuld. If you happen to be in the F:\bea\jdk141_05\bin folder then you can type this with very little effort and one hundred procent accuracy: set path=%path%;%cd% |
![]() |
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|