title: Compiling and Running C code in notepad++
body: <p>I have a problem with compiling and running C codes in notepad++.
  I am using the <em>nppexec</em> plugin and wrote the following in the script section after pressing F6:</p>
  
  <pre><code>C:\MinGW\bin\gcc.exe -g "$(FULL_CURRENT_PATH)" -o  "$(CURRENT_DIRECTORY)\$(NAME_PART).exe"
  
  $(CURRENT_DIRECTORY)\$(NAME_PART).exe
  </code></pre>
  
  <p>After pressing OK, I get the following on the console:</p>
  
  <pre><code>C:\MinGW\bin\gcc.exe -g "D:\Silent\Documents\College Stuff\6th sem\NETWORKING lab\substitutioncypher.C" -o "D:\Silent\Documents\College Stuff\6th sem\NETWORKING lab\substitutioncypher.exe"
  Process started &gt;&gt;&gt;
  &lt;&lt;&lt; Process finished. (Exit code 0)
  D:\Silent\Documents\College Stuff\6th sem\NETWORKING lab\substitutioncypher.exe
  Process started &gt;&gt;&gt;
  </code></pre>
  
  <p>Here, <code>substitution.c</code> is my program to be run. The problem is that the gcc part is working fine but I am not able to execute the program from here as there is no response. </p>
  
  <p>As you see, it just says process started and after that nothing. No response to a key being pressed, it just accepts everything like a text editor.</p>
  
  <p>If I go to the working directory and execute the program from there (double clicking the exe file) then it seems to run perfectly fine. The problem seems to be in my script or the plugin.</p>
  
  <p>Please, can anyone find out what is wrong with my compiling and running script?</p>