I use Notepad++ to write code and use Mingw to compile...I compile directly through Notepad++ using NppExec and paste in the following code...
cd "$(CURRENT_