1

I downloaded and installed the program "cppcheck" (http://cppcheck.sourceforge.net/).

This program has both a GUI (which I can access without problems) and a command line interface. However, when I go to the windows command prompt and type "where cppcheck", nothing can be found.

Am I crazy? Or is the command line interface for cppcheck only accessible on Unix systems?

1
  • This is off topic for stack overflow. You probably want SuperUser. The where command checks the local directory and the PATH environment variable. Commented Apr 13, 2018 at 21:30

2 Answers 2

1

Since I usually don't work with Windows, I didn't realise that the "where" command just looks in the current folder and child folders of the current folder. That's why I didn't get any results.

Sign up to request clarification or add additional context in comments.

Comments

0

You have to add it in the environment variables since the cppcheck installer does not add it automatically. This way you can use the where command from any folder as it also checks the environment variables too.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.