I have this environment variable set in the system control panel on my Windows 7 machine:
C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\RSA SecurID Token Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files\CaseWare IDEA\IDEA;C:\Program Files (x86)\CaseWare IDEA\IDEA;C:\Program Files\Dell\Dell Data Protection\Encryption\;C:\HashiCorp\Vagrant\bin;C:\Program Files (x86)\Cisco\Cisco AnyConnect Secure Mobility Client\;C:\Program Files\Git\cmd; C:\Python27;C:\Program Files\Amazon\AWSCLI\; C:\Program Files\Splunk\bin
But for some reason none of the programs I'm trying to access like python, aws cli and splunk are not found when I try to run them.
For instance when I try to run splunk it's not found, even tho I clearly added it's bin file to the path:
PS C:\Users\tdunphy> splunk
splunk : The term 'splunk' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ splunk
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (splunk:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
What am I doing wrong?
set pathandwhere.exe splunkfrom the command prompt? – HelpingHand Jan 04 '18 at 20:26$env:pathdoes the Splunk path show? – HelpingHand Jan 04 '18 at 23:05