Here is a little tweak which can sometimes help.
When you open command prompt and execute a program, Windows searches in some directories to find this program.
If You want to add a custom folder to search for a program, you can do this by modifying the system PATH variable.
Just go to Control Panel - System - Advanced System Settings - Environemental Variables
Find PATH, select Edit and append necessary folder in the end.