![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| Guest | DOS AUTOEXEC.BAT "PATH" Command Doesn't Work Vista apparently does NOT utilize the AUTOEXEC.BAT file in the root directory of the hard drive. If one puts a PATH command in it, it doesn't take effect when booting. In fact, the path set by Vista comes from somewhere but they give no clue as to where it is set and how to configure it differently. Anyone know anything about this and how to configure a different path than Vista sets??? I use Vista Home Premium edition. Thanks. |
My System Specs![]() |
| | #2 (permalink) |
| Guest | Re: DOS AUTOEXEC.BAT "PATH" Command Doesn't Work "John Wesley Asquith" <john_asquith6@hotmail.com> wrote > Vista apparently does NOT utilize the AUTOEXEC.BAT file in the root > directory of the hard drive. If one puts a PATH command in it, it > doesn't take effect when booting. In fact, the path set by Vista comes > from somewhere but they give no clue as to where it is set and how to > configure it differently. > > Anyone know anything about this and how to configure a different path > than Vista sets??? > > I use Vista Home Premium edition. Use the set command from and elevated command prompt or right click the Computer icon | Properties | Advanced System Settings in the left pane | Advanced Tab | Environment Variables | System Variables | Edit. -- Rock [MS-MVP User/Shell] |
My System Specs![]() |
| | #3 (permalink) |
| Guest | Re: DOS AUTOEXEC.BAT "PATH" Command Doesn't Work Didn't work in XP either, as NT systems don't use that file. If it's there, it's because something you installed placed one there and expects it to be there. Rock has given you the proper steps to declare the environmental variable. -- Best of Luck, Rick Rogers, aka "Nutcase" - Microsoft MVP http://mvp.support.microsoft.com/ Windows help - www.rickrogers.org "John Wesley Asquith" <john_asquith6@hotmail.com> wrote in message news:naul23holg99mrk8r8nqkpe6i959pv7ilh@4ax.com... > Vista apparently does NOT utilize the AUTOEXEC.BAT file in the root > directory of the hard drive. If one puts a PATH command in it, it > doesn't take effect when booting. In fact, the path set by Vista comes > from somewhere but they give no clue as to where it is set and how to > configure it differently. > > Anyone know anything about this and how to configure a different path > than Vista sets??? > > I use Vista Home Premium edition. > > Thanks. > > |
My System Specs![]() |
| | #4 (permalink) |
| Guest | Re: DOS AUTOEXEC.BAT "PATH" Command Doesn't Work Hello Rick, Should still pick it up the environmental variables from autoexec.bat. It doesn't grab them at boot time but the file should be parsed and the envirronmental variables added to the system variables. I just created an autoexec.bat and placed it in root of the drive that contains bootmgr. I added a set statement as well as a set path to add a path entry and a new variable. I rebooted. The new variable was now available as the path was appended with the new folder I added. Should work the same as it did in Windows XP. We don't load execuables from the autoexec.bat file but we should load variable settings such as path entries. I didn't try the config.sys but we should pci variables from that as well. No driver loads of course or execuables. We don't mount or run the files, but they both should be parsed during boot for variable settings. Thanks, Darrell Gorter[MSFT] This posting is provided "AS IS" with no warranties, and confers no rights -------------------- |>From: "Rick Rogers" <rick@mvps.org> |>References: <naul23holg99mrk8r8nqkpe6i959pv7ilh@4ax.com> |>In-Reply-To: <naul23holg99mrk8r8nqkpe6i959pv7ilh@4ax.com> |>Subject: Re: DOS AUTOEXEC.BAT "PATH" Command Doesn't Work |>Date: Sat, 21 Apr 2007 07:28:41 -0400 |>Lines: 29 |>MIME-Version: 1.0 |>Content-Type: text/plain; |> format=flowed; |> charset="iso-8859-1"; |> reply-type=original |>Content-Transfer-Encoding: 7bit |>X-Priority: 3 |>X-MSMail-Priority: Normal |>X-Newsreader: Microsoft Windows Mail 6.0.6000.16386 |>X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16386 |>Message-ID: <Oe5EhhAhHHA.2332@TK2MSFTNGP04.phx.gbl> |>Newsgroups: microsoft.public.windows.vista.general |>NNTP-Posting-Host: cpe-74-71-253-32.twcny.res.rr.com 74.71.253.32 |>Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTNGP04.phx.gbl |>Xref: TK2MSFTNGHUB02.phx.gbl microsoft.public.windows.vista.general:87572 |>X-Tomcat-NG: microsoft.public.windows.vista.general |> |>Didn't work in XP either, as NT systems don't use that file. If it's there, |>it's because something you installed placed one there and expects it to be |>there. Rock has given you the proper steps to declare the environmental |>variable. |> |>-- |>Best of Luck, |> |>Rick Rogers, aka "Nutcase" - Microsoft MVP |>http://mvp.support.microsoft.com/ |>Windows help - www.rickrogers.org |> |>"John Wesley Asquith" <john_asquith6@hotmail.com> wrote in message |>news:naul23holg99mrk8r8nqkpe6i959pv7ilh@4ax.com... |>> Vista apparently does NOT utilize the AUTOEXEC.BAT file in the root |>> directory of the hard drive. If one puts a PATH command in it, it |>> doesn't take effect when booting. In fact, the path set by Vista comes |>> from somewhere but they give no clue as to where it is set and how to |>> configure it differently. |>> |>> Anyone know anything about this and how to configure a different path |>> than Vista sets??? |>> |>> I use Vista Home Premium edition. |>> |>> Thanks. |>> |>> |> |> |
My System Specs![]() |
| | #5 (permalink) |
| Guest | Re: DOS AUTOEXEC.BAT "PATH" Command Doesn't Work Hit the start button RIGHT click on "computer" and choose properties. In the resulting dialog, hit "advanced system settings" link then press the environment variables button. The information you're referring to is stored in the registry (and was under Windows XP as well). Cheers, Joe "John Wesley Asquith" <john_asquith6@hotmail.com> wrote in message news:naul23holg99mrk8r8nqkpe6i959pv7ilh@4ax.com... > Vista apparently does NOT utilize the AUTOEXEC.BAT file in the root > directory of the hard drive. If one puts a PATH command in it, it > doesn't take effect when booting. In fact, the path set by Vista comes > from somewhere but they give no clue as to where it is set and how to > configure it differently. > > Anyone know anything about this and how to configure a different path > than Vista sets??? > > I use Vista Home Premium edition. > > Thanks. > > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Passing "| find" in command executed with EXEC method does not work | VB Script | |||
| Can I load "idle.com" in Autoexec.bat when I work in Windows 98 on | Virtual PC | |||
| "Open command prompt here" and "Copy as path" | Vista performance & maintenance | |||
| Question About "autoexec.nt" and "config.nt" (in Vista) | Vista security | |||
| Question About "autoexec.nt" and "config.nt" (in Vista) | Vista General | |||