The problem is that it's not able to find & run some bat & exe files given in the '%Path'. Whereas it can find some - it can't find some others. So it doesn't run them unless full path is specified.
This is a big issue. The Path & PATHEXT variables are configured properly.
Here they are:
"PATH" user variable: "C:\Users\Mayank\AppData\Roaming\npm\; C:\Program Files\MySQL\MySQL Server 5.6\bin\;"
"Path" System variable: "C:\Program Files (x86)\iis express\PHP\v5.3;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Microsoft\Web Platform Installer\;;C:\Program Files (x86)\nodejs\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\; %JAVA_HOME%\bin; %GRAILS_HOME%\bin\; C:\Program Files\MySQL\MySQL Server 5.6\bin\;C:\Program Files\Windows NT\Accessories;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\; C:\Program Files\MySQL\MySQL Server 5.6\bin"
"PATHEXT" systems variable: ".EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC"
Now for instance the MySql 5.6 binaries are in the path. But I am not able to run them from command prompt without specifying the full path.
Hi Mayank ,
"Now for instance the MySql 5.6 binaries are in the path"
Will all the bat files in this path have the issue ? Is the path added by yourself manually through the GUI (Graphic user interface) ?
" Whereas it can find some - it can't find some others"
If it is possible ,please inform us all the problematic pathes .
As far as I am concerned ,there is a detail we should be careful when we set the path manually.Please check the blank space between different pathes.
As an alternative choice:
We can set the path via setx command .
Here are links for reference :
Setx
https://technet.microsoft.com/en-us/library/cc755104.aspx#BKMK_examples
As a work around ,we also can open a command line in the specific folder from the left up side corner without input the full path and then run the bat file:
Best regards
- Edited by MeipoXuMicrosoft contingent staff Wednesday, March 04, 2015 6:08 AM