PATH envt var not working?

  • Thread starter Thread starter anorakgirl
  • Start date Start date
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
 
The path stops being searched as soon as it encounters an error. Your mysql part has a leading space.
 
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]...
 
Back
Top