How to override Windows' convert command by ImageMagick's one?

This is an old question, but the current solution with ImageMagick 7 is to use the "magick" command in place of "convert".


This is an old question, but I encountered this problem today, and this is my solution in Windows 7.

Windows convert.exe is located in folder C:\Windows\System32, so you have to modify the Windows PATH variable by putting the ImageMagick path (for example C:\Libs\ImageMagick-6.8.8-4) before the path that loads System32 (ie. %SystemRoot%\System32).

This will cause all ImageMagick executables to take priority over any similarly named system executables, which should do what you want but may cause unexpected behaviour.

Also, when you want to use the system convert.exe, you'll have to specify the full pathname such as C:\Windows\System32\convert.exe.


Renaming the ImageMagick convert.exe worked well for me.

I didn't like using full path each time, and changing the system PATH variable isn't possible for me on the work PC.

After renaming convert.exe to imgconvert.exe, no other changes were needed. You could now use the new command anywhere from the command line without it being confused with the intrinsic Windows file system convert


Edit: As of version 7.0, the command is now magick.exe, which no longer clashes with any native windows commands. So downloading the latest version if possible should solve the problem as well.