PATH envt var not working?

A

anorakgirl

I have added a location (C:\mysql\bin) to my Path
Environment Variable (System not USer) via My Computer >
Propertied > Advanced..

When I type show PATH at a command prompt, it includes
the new directory:
Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32
\Wbem; C:\mysql\bin;C:\Program Files\Microsoft SQL
Server\80\Tools\BINN; C:\j2sdk1.4.2_02\bin;
C:\java\ant\bin;
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH


But when I type the name of a command in that directory,
it doesn't find it, and I get
C:\>mysql
'mysql' is not recognized as an internal or external
command,
operable program or batch file.

mysql.exe is definitely in C:\mysql\bin. The same problem
occurs for other files in my PATH too, but it looks right
to me. Has anyone come across this? I have rebooted, I
have no User PATH env variable, I can't think what else
it could be.

Thanks for any ideas!
Tamsin
 
D

David Candy

The path stops being searched as soon as it encounters an error. Your mysql part has a leading space.
 
G

Guest

doh!

brilliant it works now. i had no idea that the spaces
mattered. thank you very much!

-----Original Message-----
The path stops being searched as soon as it encounters
an error. Your mysql part has a leading space.in message news:[email protected]...
 

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

Top