See Examples of External Tools configurations and I want to compile the opened file with an external tool in Command Prompt.