View Full Version : Set default path in command prompt?
boyd
December 6th 03, 07:49 AM
I seem to be having a bad help file day. Can't find how
to set the default path in the command prompt window so
that it -stays- set. So, I want to go from:
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Sys tem32
\Wbem;C:\Program Files\Microsoft SQL Server\80
\Tools\BINN;C:\Prog
ram Files\Network Associates\PGPNT
to:
%PATH% C:\mysql\bin
Permanently, ie close the window re open and find
C:\mysql\bin still appended to the path... but as soon as
I close the window and open a new one path is back to
excluding C:\mysql\bin. Work fine until I close that
particular window... but that is -really- not enough.
Sharon F
December 6th 03, 07:50 AM
On Mon, 13 Oct 2003 11:06:13 -0700, boyd wrote:
> I seem to be having a bad help file day. Can't find how
> to set the default path in the command prompt window so
> that it -stays- set. So, I want to go from:
> PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Sys tem32
> \Wbem;C:\Program Files\Microsoft SQL Server\80
> \Tools\BINN;C:\Prog
> ram Files\Network Associates\PGPNT
>
> to:
> %PATH% C:\mysql\bin
>
> Permanently, ie close the window re open and find
> C:\mysql\bin still appended to the path... but as soon as
> I close the window and open a new one path is back to
> excluding C:\mysql\bin. Work fine until I close that
> particular window... but that is -really- not enough.
The original system path should remain in place. It is normal for additions
to be appended. Edit the path using System Properties> Advanced>
Environment Variables.
--
Sharon F
MS MVP - Windows Shell/User
Kelly
December 6th 03, 07:51 AM
Hi,
Added info:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor. Right pane -
AutoRun = cd \windows
CMD Prompt Folder Navigation Tool
http://www.jsifaq.com/SUBJ/tip4700/rh4757.htm
Add Command Prompt to the Right Click (opens in correct path)
Line 26: http://www.kellys-korner-xp.com/xp_tweaks.htm
--
All the Best,
Kelly
MS-MVP Win98/XP
[AE-Windows® XP]
Troubleshooting Windows XP
http://www.kellys-korner-xp.com
Top 10 Frequently Asked Questions and Answers
http://www.kellys-korner-xp.com/top10faqs.htm
"Sharon F" > wrote in message
...
> On Mon, 13 Oct 2003 11:06:13 -0700, boyd wrote:
>
> > I seem to be having a bad help file day. Can't find how
> > to set the default path in the command prompt window so
> > that it -stays- set. So, I want to go from:
> > PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Sys tem32
> > \Wbem;C:\Program Files\Microsoft SQL Server\80
> > \Tools\BINN;C:\Prog
> > ram Files\Network Associates\PGPNT
> >
> > to:
> > %PATH% C:\mysql\bin
> >
> > Permanently, ie close the window re open and find
> > C:\mysql\bin still appended to the path... but as soon as
> > I close the window and open a new one path is back to
> > excluding C:\mysql\bin. Work fine until I close that
> > particular window... but that is -really- not enough.
>
> The original system path should remain in place. It is normal for
additions
> to be appended. Edit the path using System Properties> Advanced>
> Environment Variables.
>
> --
> Sharon F
> MS MVP - Windows Shell/User
vBulletin® v3.6.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.