Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

imagemagick

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?

like image 745
user3277633 Avatar asked Jun 19 '14 17:06

user3277633


People also ask

What is not recognized as an internal or external command?

The “is not recognized as an internal command” error usually occurs because the computer can't find the executable that you're asking it to launch. However, you can provide it with the full path to your executable file and it should then be able to run it without any issues. Launch a Command Prompt window on your PC.

Which is not recognized as command?

The “not recognized as internal command” error usually occurs because the computer cannot find the executable file it is trying to start. However, you can provide the full path to your executable and then it should run without any problem. Launch a Command Prompt window on your PC.

Which is not recognized as an internal or external command operable program or batch file?

You can resolve this issue in three ways: First, use the full path of the executable file to launch the program. Second, add the program path to Windows environment variables. Finally, move the files to the System32 folder.

Which is not recognized as an internal or external command python?

The “Python is not recognized as an internal or external command” error is encountered in the command prompt of Windows. The error is caused when Python's executable file is not found in an environment variable as a result of the Python command in the Windows command prompt.


1 Answers

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

See the equivalent Windows command

like image 150
dre-hh Avatar answered Oct 26 '22 23:10

dre-hh