6

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?

user3277633
  • 1,841
  • 5
  • 27
  • 48

2 Answers2

8

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

See the equivalent Windows command

Community
  • 1
  • 1
dre-hh
  • 7,422
  • 2
  • 29
  • 41
  • 1
    is there a way to call that command within the windows command prompt? I just need to know where the convert utility is installed on my computer – user3277633 Jun 19 '14 at 17:14
0

Just use the following command on Windows:

where package_name
Jane Kathambi
  • 390
  • 3
  • 7