Configure Notepad++ to Run C, C++ and Java Programs

In this tutorial I will tell you about how to configure notepad++ to run C, C++, Java, Python, JavaScript, etc. programs.

Notepad++ is a popular and free source code editor which is widely used by programmers. Even I use it very frequently. Today while editing a source code on notepad++ I thought that it will be great if there is any way to run the source code on it. Luckily I found a way that I am sharing below. I have mentioned steps only for C, C++ and Java. But the same method can be used to run programs of any other language.

Also Read: How to Run C and C++ Program in Sublime Text

Configure Notepad++ to Run C, C++ and Java Programs

Configure Notepad++ to Run C, C++ and Java Programs

1. First of all download the notepad++ from below link.

https://notepad-plus-plus.org/download/

2. Now install and open notepad++.

3. We require NppExec plugin that will help us to run programs. You can skip 3rd and 4th steps if the NppExec plugin is already present in notepad++. Go to Plugins > Plugin Manager > Show Plugin Manager.

Notepad++ 1

4. Make sure you have internet connection because we are going to download plugin. In the new window you will get a list of all available plugins. Scroll down and select NppExec plugin from the list and install it.

Notepad++ 2

5. Go to Plugins > NppExec > Execute. Now we have to create a script. In the new window enter following commands and then save it with any name.

For C and C++

npp_save
cd $(CURRENT_DIRECTORY)
C:\Program Files (x86)\Dev-Cpp\MinGW64\bin\g++.exe “$(FILE_NAME)”
cmd /c “$(CURRENT_DIRECTORY)\a.exe”

For Java

npp_save
cd $(CURRENT_DIRECTORY)
C:\Program Files\Java\jdk1.8.0_45\bin\javac “$(FILE_NAME)”
C:\Program Files\Java\jdk1.8.0_45\bin\java “$(NAME_PART)”

Notepad++ 3

Replace “C:\Program Files (x86)\Dev-Cpp\MinGW64\bin” and “C:\Program Files\Java\jdk1.8.0_45\bin” with the path where compiler is installed in your computer.

6. Then go to Plugins > NppExec > Advance Options. In the bottom left corner you will get a list of Associated script. Select the script that you have just created from the drop down list.

Notepad++ 4

7. Click on Add/Modify button. Now you can see the script in the Menu items box at the top.

Notepad++ 5

8. Click OK button, you have to restart the notepad++.

9. After that go to Settings > Shortcut Mapper. Click on Plugin commands tab, there you will get the list of all the commands. Scroll down until you see the command with the name with which you have saved the script.

Notepad++ 6

10. Click on Modify button to choose a shortcut according to you. Make sure the shortcut is unique. Now close the window.

Notepad++ 7

11. Just write your program and run it using the shortcut key you created in previous step. You can see the output in the Console window as shown below.

Notepad++ 8

So this was the simple method to configure notepad++ to execute C, C++ and Java programs. If you are getting any problem then comment below, I will try to solve your problem.

79 thoughts on “Configure Notepad++ to Run C, C++ and Java Programs”

    1. The path will be different for you in your computer. It is the path of the bin directory of compiler. You have to search for it in your computer, make sure you have already installed compiler.

      1. whaaattt??? You guys are terrible why don’t you give a proper explanation instead ??? What bin directory compiler am i looking for ?? Thanks for the waste of time ? You should put as a heading this instruction makes no sense.

        1. A c++ compiler. This is something separate you have to download. If you want to work in c++ you need to download a version of the c++ programming language compiler. The compiler takes the code you write and turns it into a thing that your computer can execute.

          1. What should i download to make the notepad++ execute c, c++ and java.
            Please tell or give the link

        2. You’re an idiot. He explained it correctly. if you can’t find a directory on your own computer and don’t wanna figure it out…

  1. here by compiler you mean notepad++ path because me too having the problem after doing all that setting it giving error that
    CreateProcess() failed with error code 2:
    The system cannot find the file specified.

    help me

  2. npp_save
    cd $(CURRENT_DIRECTORY)
    C:\Program Files (x86)\Dev-Cpp
    \MinGW64\bin\g++.exe
    “$(FILE_NAME)”
    cmd /c
    “$(CURRENT_DIRECTORY)\a.exe”
    after writng ths
    i got a save and ok button i m clickng save buton with script name Nazia

    Thn
    npp_save
    cd $(CURRENT_DIRECTORY)
    C:\Program Files\Java\jdk1.8.0_45\bin
    \javac “$(FILE_NAME)”
    C:\Program Files\Java\jdk1.8.0_45\bin
    \java “$(NAME_PART)”

    After writng the above comand again i type script name nazia and click save button…. i didnt get the path name how i can get the path name..
    plz help me out .

  3. It does not let me compile it.
    g++ does not exist.

    I have already installed MinGW and my directory is in C:\MinGW\bin\g++.exe

  4. I am trying to install Notepad++ with MinGW onto a USB so that I can program in C++ while at work or at any other windows computer that I have access to.

    Here are the commands that I have saved as a script under the Nppexec plugin:
    npp_save
    cd $(CURRENT_DIRECTORY)
    G:\Matrix\MinGW\bin\g++.exe “$(FILE_NAME)”
    cmd /c “$(CURRENT_DIRECTORY)\a.exe”

    But whenever I try to compile (Ctrl+Alt+Enter) I get the following error message:
    NPP_EXEC: “C/C++ Compiler”
    NPP_SAVE: G:\test.cpp
    CD: G:\
    Current directory: G:\
    G:\Matrix\MinGW\bin\g++.exe “test.cpp”
    Process started >>>
    g++.exe: error: ôtest.cppö: No such file or directory
    g++.exe: fatal error: no input files
    compilation terminated.
    <<>>
    The filename, directory name, or volume label syntax is incorrect.
    <<< Process finished. (Exit code 1)
    ================ READY ================

    Is there a different or extra command that I need to include in the script to make the compiler run properly from my USB?

    Thanks in advance!

      1. Delete the quotation marks and replace them. They don’t register as quotation marks by notepad++, they register as something else.

  5. Current directory: C:\Users\Abhishek\Downloads
    C:\MinGW\bin\g++.exe “demo.c”
    Process started >>>
    g++.exe: ôdemo.cö: No such file or directory
    g++.exe: no input files
    <<< Process finished. (Exit code 1)

    this is what i got. How to solve the issue.
    Thanks You

    1. Shivam Aggarwal

      I got the same error and solved it myself by just removing the double quotes from { C:\Program Files (x86)\Dev-Cpp\MinGW64\bin\g++.exe “$(FILE_NAME)” } to { C:\Program Files (x86)\Dev-Cpp\MinGW64\bin\g++.exe $(FILE_NAME) }.

      1. npp_save
        cd $(CURRENT_DIRECTORY)
        C:\Program Files (x86)\Dev-Cpp\MinGW64\bin\gcc $(FILE_NAME)
        cmd /c “$(CURRENT_DIRECTORY)\a.exe”

        Might be double quote will be problem.so, remove the double quote and again put double quote at same place.

        Read the massage correctly …….if in case permission needed than grant permission as per the required.

  6. The reason everyone is having issues with the code is because they have copied and pasted it and the quotes in the code are not right when they have been pasted. Just replace the quotes by typing them in, and it will work.

    1. Hi
      I configured as instructed, small c programme executing, but other link below it is sowing process started and not finish since long time.

      #include
      int main() {
      int n, data[100], i, j, temp;

      /* get the number of entries */
      printf(“Enter your input for n:”);
      scanf(“%d”, &n);

      /* get the input data */
      for (i = 0; i < n; i++)
      scanf("%d", &data[i]);

      /* sort the given data in ascending order */
      for (i = 0; i < n-1; i++) {
      for (j = i + 1; j data[j]) {
      temp = data[i];
      data[i] = data[j];
      data[j] = temp;
      }
      }
      }

      /* data in ascending order */
      printf(“Ascending Order:\n”);
      for (i = 0; i = 0; i–)
      printf(“%d\n”, data[i]);

      return 0;
      }

      1. NPP_EXEC: “C/C++”
        NPP_SAVE: C:\Users\Mokarram\Desktop\SORTING.c
        CD: C:\Users\Mokarram\Desktop
        Current directory: C:\Users\Mokarram\Desktop
        C:\MinGW\bin\g++.exe “SORTING.c”
        Process started (PID=7700) >>>
        <<>>

        after last line Process Started no output

  7. I AM GETTING THIS ERROR
    “NPP_SAVE: C:\Program Files (x86)\Notepad++\change.log
    CD: C:\Program Files (x86)\Notepad++
    Current directory: C:\Program Files (x86)\Notepad++
    C:\Program Files (x86)\Dev-Cpp\MinGW64\bin\g++.exe “change.log”
    CreateProcess() failed with error code 2:
    The system cannot find the file specified.

    cmd /c “C:\Program Files (x86)\Notepad++\a.exe”
    Process started >>>
    The filename, directory name, or volume label syntax is incorrect.
    <<< Process finished. (Exit code 1)"

    1. {C:\Program Files (x86)\Dev-Cpp\MinGW64\bin\g++.exe “$(FILE_NAME)”} change this to {C:\Program Files (x86)\Dev-Cpp\MinGW64\bin\g++.exe $(FILE_NAME)} and {cmd /c “$(CURRENT_DIRECTORY)\a.exe”} change this to {cmd /c $(CURRENT_DIRECTORY)\a.exe}

      It worked for me….

      1. Oh yeah it worked for you… LAST ONE IS THE SAME BLOODY DIRECTORY!

        ‘C:\Users\miiwo\Desktop\a.exe”‘ is not recognized as an internal or external command,
        operable program or batch file.

  8. i dont know whats wrong… it keeps on giving error that says:

    NPP_SAVE: C:\Program Files (x86)\Notepad++\demo.c
    CD: C:\Program Files (x86)\Notepad++
    Current directory: C:\Program Files (x86)\Notepad++
    C:\Program Files (x86)\Notepad++\notepad++.exe “demo.c”
    Process started >>>
    <<>>
    ‘C:\Users\User\Desktop\a.exe’ is not recognized as an internal or external command,
    operable program or batch file.
    <<< Process finished. (Exit code 1)
    ================ READY ================

  9. When ever i try to run my code in c++ using notepad++ then i got one message always..”g++ is not recognized as an internal or external command,operable program or batch file”..i have also followed all your given steps but nothing happened. what can i do to run my code.????

  10. khant htet zaw

    I didn’t find NppExec. So, i go to plugins>plugin manager> , . . . . , . . But it is showing “No new plugin avaiable”.
    please help me. what sould i do. . .
    ( please sorry for my english grammer if anythings are wrong)

  11. I have tried multiple different ways with nothing working. Please help.

    Current directory: C:\cpp
    C:\cygwin64\bin\g++.exe “SoonersSuck.cpp”
    Process started >>>
    g++: error: ΓÇ£SoonersSuck.cppΓÇ¥: No such file or directory
    g++: fatal error: no input files
    compilation terminated.
    <<>>
    The filename, directory name, or volume label syntax is incorrect.
    <<< Process finished. (Exit code 1)
    ================ READY ================

    1. Remover the “” alone in the script from “SoonersSuck.cpp”.

      Try:
      C:\cygwin64\bin\g++.exe SoonersSuck.cpp

  12. I did it for java but it does not work. The path I entered is completely correct. It give the following message when pressing the shortcut key…

    NPP_EXEC: “Java”
    NPP_SAVE: D:\Java\shapes.java
    CD: D:\Java
    Current directory: D:\Java
    C:\Program Files\Java\jdk\bin\javac “shapes.java”
    Process started >>>
    javac: invalid flag: ôshapes.javaö
    Usage: javac
    use -help for a list of possible options
    <<>>
    Error: Could not find or load main class ôshapesö
    <<< Process finished. (Exit code 1)
    ================ READY ================

  13. This is the correct form of the scripts:
    ———-c++——————————————-
    npp_save
    cd “$(CURRENT_DIRECTORY)”
    C:\MinGW\bin\g++ “$(FILE_NAME)” -o $(NAME_PART)
    cmd /c $(NAME_PART).exe
    ———–Java—————————————–
    npp_save
    cd “$(CURRENT_DIRECTORY)”
    C:\Program Files\Java\jdk1.8.0_65\bin\javac $(FILE_NAME)
    C:\Program Files\Java\jdk1.8.0_65\bin\java $(NAME_PART)

    In the java bit you should place the complete path to your jdk directory, I personally have that path and version so you should change yours to what you have and where you have it. (I’d also consider installing the environment variables for both minGW and jkd in your system)

  14. Everything has been installed as mentioned but after running the script I get “could not find or load main class Test”…kindly help

  15. NPP_EXEC: “JAVA”
    NPP_SAVE: C:\Users\kohli\Desktop\Nikhil.java
    CD: C:\Users\kohli\Desktop
    Current directory: C:\Users\kohli\Desktop
    C:\Program Files\Java\jdk1.8.0_60\bin\javac “Nikhil.java”
    Process started >>>
    javac: invalid flag: ôNikhil.javaö
    Usage: javac
    use -help for a list of possible options
    <<>>
    Error: Could not find or load main class ôNikhilö
    <<< Process finished. (Exit code 1)
    ================ READY ================

    Write this code

    import java.util.*;

    public class Nikhil {
    public static void main(String[] args){
    System.out.print("Nikhil");
    }
    }

    help me

  16. Please tell me how can i get filename without its extension or how to remove it cause i want to compile files using each names as output name

  17. Who ever is facing issue while compiling with MinGW compiler .. Please follow this… It works for me
    npp_save
    cd $(CURRENT_DIRECTORY)
    C:\MinGW\bin\g++.exe “$(FILE_NAME)”
    cmd /c “$(CURRENT_DIRECTORY)\a.exe”

  18. Mine says
    The program can’t start because libiconv-2.dll is missing from your computer. Try reinstalling the program to fix this problem.

    Do I reinstall Notepad++ or MinGW?
    Is there another way to fix this?

  19. Here’s what I am getting, where is my mistake?

    CD:
    Current directory: C:\Program Files (x86)\Notepad++
    C:\Program Files\Java\jdk1.8.0_101\bin\java “new 1
    Process started >>>
    Error: Could not find or load main class new 1
    <<< Process finished. (Exit code 1)
    ================ READY ================

    1. @Malen Carney

      Remove those double quotes in the script you added
      C:\Program Files\Java\jdk1.8.0_45\bin\javac “$(FILE_NAME)”
      C:\Program Files\Java\jdk1.8.0_45\bin\java “$(NAME_PART)”

      change this to
      C:\Program Files\Java\jdk1.8.0_45\bin\javac $(FILE_NAME)
      C:\Program Files\Java\jdk1.8.0_45\bin\java $(NAME_PART)

      and save it. Hope this helps

  20. NPP_SAVE: D:\Teaching\Nepal\PGM\C\asci2char.c
    CD: D:\Teaching\Nepal\PGM\C
    Current directory: D:\Teaching\Nepal\PGM\C
    C:\Program Files (x86)\Dev-Cpp\MinGW64\bin\g++.exe “asci2char.c”
    Process started >>>
    g++.exe: error: ôasci2char.cö: No such file or directory
    <<>>
    The filename, directory name, or volume label syntax is incorrect.
    <<< Process finished. (Exit code 1)
    ================ READY ================

  21. I have tried it and it works. But when the c programs are written for printing its showing the output below but when I’m trying it with scanf it’s not returning anything.. So is there any way to put values manually like using scanf?

  22. N++ tells me that I’m missing .dll’s that are contained in the MingW/bin/ directory. I’ve tried copying them into Windows/System32/ but it still isn’t able to find them.

    I’m using MingW 2013-10-26, Notepad++ 6.9.2 and NppExec 0.5.3

  23. My programs won’t run due to a saving issue, it seems. After hitting the shortcut to compile, I get the Save As window. No matter where I save it to, I have:

    NPP_EXEC: “C”
    NPP_SAVE: new 1
    CD: C:\Users\Wyatt\Desktop
    Current directory: C:\Users\Wyatt\Desktop
    C:\MinGW\bin;C:\MinGW\msys\1.0\bin\g++.exe “new 1.txt”
    CreateProcess() failed with error code 2:
    The system cannot find the file specified.

    cmd /c “C:\Users\Wyatt\Desktop\a.exe”
    Process started >>>
    ‘C:\Users\Wyatt\Desktop\a.exe’ is not recognized as an internal or external command,
    operable program or batch file.
    <<< Process finished. (Exit code 1)

  24. NPP_SAVE: new 1
    CD:
    Current directory: C:\Users\Hp\Documents
    C:\Program Files\Java\jdk1.7.0\bin\javac “new 1”
    Process started >>>
    javac: invalid flag: new 1
    Usage: javac
    use -help for a list of possible options
    <<>>
    Error: Could not find or load main class new 1
    <<< Process finished. (Exit code 1)
    ================ READY ================
    after all setting as shown above i got this msg in so what i can do to resolve

  25. NJOKU OKECHUKWU VALENTINE

    this is what worked for me
    npp_save
    cd $(CURRENT_DIRECTORY)
    C:\MinGW\bin\g++.exe “$(FILE_NAME)
    cmd /c $(CURRENT_DIRECTORY)\a.exe

    remember to change C:\MinGW\bin\g++.exe as it can be found on your system. Then the rest remain the same. Thanks (2347038616871 should you need more assistance)

  26. sir iam getting the ollowing error please suggest a solution
    NPP_SAVE: C:\TURBOC3\BIN\prog.c
    CD: C:\TURBOC3\BIN
    Current directory: C:\TURBOC3\BIN
    C:\TURBOC3\BIN\g++.exe “prog.c”
    CreateProcess() failed with error code 2:
    The system cannot find the file specified.

    cmd /c “C:\TURBOC3\BIN\a.exe”
    Process started >>>
    The filename, directory name, or volume label syntax is incorrect.
    <<< Process finished. (Exit code 1)
    ================ READY ================

  27. ‘cmd’ is not recognized as an internal or external command,
    operable program or batch file.

    I AM GETTING THIS ERROR

  28. NPP_EXEC: “c and c++”
    NPP_SAVE: C:\Users\GoT\Desktop\demo.c
    CD: C:\Users\GoT\Desktop
    Current directory: C:\Users\GoT\Desktop
    C:\Program Files\Java\jdk1.8.0_131\bin\javac “demo.c”
    Process started >>>
    javac: invalid flag: ôdemo.cö
    Usage: javac
    use -help for a list of possible options
    <<>>
    Error: Could not find or load main class ôdemoö
    <<< Process finished. (Exit code 1)

    please Help me with this error.

  29. Trying to setup Notepad++ w/ MinGW on a USB drive for portable programming. Having a couple issues. My script is as follows:

    npp_save
    cd $(CURRENT_DIRECTORY)
    $(CURRENT_DIRECTORY)\MinGW\bin\g++.exe “$(FILE_NAME)”
    cmd /c “$(CURRENT_DIRECTORY)\a.exe”

    The console output is as follows:

    NPP_EXEC: “cpp”
    NPP_SAVE: F:\Notepad++\Projects\TextRPG\TextRPG.h
    CD: F:\Notepad++\Projects\TextRPG
    Current directory: F:\Notepad++\Projects\TextRPG
    F:\Notepad++\Projects\TextRPG\MinGW\bin\g++.exe “TextRPG.h”
    ; about to start a child process: “F:\Notepad++\Projects\TextRPG\MinGW\bin\g++.exe “TextRPG.h””
    CreateProcess() failed with error code 2:
    The system cannot find the file specified.

    cmd /c “F:\Notepad++\Projects\TextRPG\a.exe”
    Process started (PID=24352) >>>
    ‘F:\Notepad++\Projects\TextRPG\a.exe’ is not recognized as an internal or external command,
    operable program or batch file.
    <<< Process finished (PID=24352). (Exit code 1)
    ================ READY ================

    What should I change to make the script work properly?

  30. Rahul Nambi Agas

    NPP_SAVE

    CD $(CURRENT_DIRECTORY)

    C:\MinGW32\bin\gcc.exe -g “$(FILE_NAME)”

    a

    src://(https://stackoverflow.com/questions/2506400/how-to-compile-and-run-c-files-from-within-notepad-using-nppexec-plugin)

  31. Rahul Nambi Agas

    Try this steps for the new version of Notepad ++,

    Install plugin manager from /?/GetMorePlugin/nppexec/sourceforge.net/download nppexec

    Run Notepad as admin

    Go to Settings/import/importplugin(s)/add the nppexec.dll from the downloaded directory

    From Plugins execute nppexec

    Add this for C;

    NPP_SAVE

    CD $(CURRENT_DIRECTORY)

    C:\MinGW32\bin\gcc.exe -g “$(FILE_NAME)”

    a

    (src://https://stackoverflow.com/questions/2506400/how-to-compile-and-run-c-files-from-within-notepad-using-nppexec-plugin)

    Ignore the end error!!!

    Once again go to the plugins/nppexec/advanced option rest continue the above steps from the blog… Cheers

  32. NPP_EXEC: “C/C++”
    NPP_SAVE: C:\Users\Seamus\Desktop\new_1.h
    CD: C:\Users\Seamus\Desktop
    Current directory: C:\Users\Seamus\Desktop
    C:\Program Files (x86)\Dev-Cpp\MinGW64\bin\g++.exe new_1.h
    Process started (PID=6972) >>>
    new_1.h: In function ‘int main()’:
    new_1.h:2:1: error: ‘cout’ was not declared in this scope
    cout << "hello world";
    ^
    <<>>
    The filename, directory name, or volume label syntax is incorrect.
    <<< Process finished (PID=9828). (Exit code 1)
    ================ READY ================

    error: 'cout' was not declared in this scope
    why.

    1. The_Simple_Llama

      Solution:

      Make sure that you have added a namespace to your program.

      For example:
      #include
      using namespace std; <— Do you have this?

      int main() {
      cout << "Hello, World!";
      return 0;
      }

      Additional Information:

      I receive this error when I do not define my namespace:
      ================
      new 2.h: In function 'int main()':
      new 2.h:6:5: error: 'cout' was not declared in this scope
      cout << "Hello, World!";
      ^
      new 2.h:6:5: note: suggested alternative:
      In file included from new 2.h:1:0:
      c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\iostream:61:18: note: 'std::cout'
      extern ostream cout; /// Linked to standard output
      ================
      When I include a namespace, specifically "std", I get no errors.

      Good luck!

  33. Hey, bro! I just want to tell you that your website is quite long to display in Mozilla Firefox version 67.0.2 (Windows 10 64 bit). Thanks!

  34. mau biet thu hien dai

    Hurrah, that’s what I was looking for, what a data!

    existing here at this blog, thanks admin of this website.

  35. Process started (PID=6848) >>>
    notepadcpp.cpp: In function ‘int main()’:
    notepadcpp.cpp:8:5: error: ‘cout’ was not declared in this scope
    cout<<"Enter your favourite number:"<<endl;
    ^
    notepadcpp.cpp:8:43: error: 'endl' was not declared in this scope
    cout<<"Enter your favourite number:"<>x<<endl;

    EVEN AFTER INCLUDING "NAMESPACE" I AM GETTING THIS?

  36. When i write a simple programme this appears on the screen. Please help I want to learn c++

    “C:\MinGW\bin\g++.exe “new 1.cpp”
    Process started (PID=3708) >>>
    g++.exe: error: ônew: No such file or directory
    g++.exe: error: 1.cppö: No such file or directory
    g++.exe: fatal error: no input files
    compilation terminated.
    <<>>
    The filename, directory name, or volume label syntax is incorrect.
    <<< Process finished (PID=2996). (Exit code 1)
    ================ READY ================"

    Just tell me what does this mean?

  37. getting error
    cmd /c “C:\Program Files (x86)\Notepad++\a.exe
    Process started >>>
    The filename, directory name, or volume label syntax is incorrect.
    <<< Process finished. (Exit code 1)
    ================ READY ================

  38. npp_save
    cd $(CURRENT_DIRECTORY)
    C:\Program Files (x86)\Dev-Cpp\MinGW64\bin\g++.exe $(FILE_NAME)
    cmd /c “$(CURRENT_DIRECTORY)\a.exe”

    also tried by giving quotes to $(FILE_NAME)
    still….NPP_SAVE: D:\c\new 1.c
    CD: D:\c
    Current directory: D:\c
    C:\Program Files (x86)\Dev-Cpp\MinGW64\bin\g++.exe new 1.c
    ; about to start a child process: “C:\Program Files (x86)\Dev-Cpp\MinGW64\bin\g++.exe new 1.c”
    CreateProcess() failed with error code 2:
    The system cannot find the file specified.

    cmd /c “D:\c\a.exe”
    Process started (PID=10952) >>>
    The filename, directory name, or volume label syntax is incorrect.
    <<< Process finished (PID=10952). (Exit code 1)
    ================ READY ================

  39. “NPP_EXEC: “C and C++”
    NPP_SAVE: C:\Users\willb\Desktop\Projects\OS (not windows)\main.c
    CD: C:\Users\willb\Desktop\Projects\OS (not windows)
    Current directory: C:\Users\willb\Desktop\Projects\OS (not windows)
    C:\Program Files (x86)\Dev-Cpp\MinGW64\bin\g++.exe “main.c”
    ; about to start a child process: “C:\Program Files (x86)\Dev-Cpp\MinGW64\bin\g++.exe “main.c””
    CreateProcess() failed with error code 2:
    The system cannot find the file specified.

    cmd /c “D:Desktop\bla\a.exe”
    Process started (PID=10560) >>>
    The filename, directory name, or volume label syntax is incorrect.
    <<< Process finished (PID=10560). (Exit code 1)
    ================ READY ================"

    WTF

Leave a Comment

Your email address will not be published. Required fields are marked *