'ImageMagick, "which" is not recognized as an internal or external command

I just installed ImageMagick on my windows machine so I can use it with the paperclip gem with RUby on Rails. When I try to run "which convert" into the command prompt, it returns a 'which' is not recognized as an internal or external command, operable program or batch file.

I am relatively new to command prompt and still trying to learn as much as I can. What is wrong with my command and how do I fix it?



Solution 1:[1]

The command is right. The OS is wrong. which is a unix command not a windows one.

See the equivalent Windows command

Solution 2:[2]

Just use the following command on Windows:

where package_name

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Community
Solution 2 Jane Kathambi