Set default path in command prompt?

B

boyd

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\System32
\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.
 
S

Sharon F

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\System32
\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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Command prompt error 4
basic use of DOS prompt 6
CMD prompt error 4
PATH envt var not working? 2
Command Prompt> PATH 3
No path to recycle bin! 8
Path environment variable 6
Command Prompt 22

Top