• Register
Log In
0 votes

Problem :

Facing following git error
cannot run program "git.exe": createprocess error=2, the system cannot find the file specified
6.9k points

1 Answer

0 votes

Solution :

I found solution on your git issur as below :

Git path as follows


You need to write file name git.exe at the end of path otherwise you will get an error=5

enter image description here

Or you can follow as below

C:\Program Files\Git\bin\git.exe

enter image description here

36.1k points

Related questions

0 votes
1 answer 46 views
Problem : I am learning Android Programming. Recently I upgraded the Windows OS and after that I reinstalled my Android studio 0.3.2. Currently I am using windows8.1 Pro. If I try to run the android project I often face below error: Cannot run program "C:\Program Files ... 2, The system cannot find the file specified I am struggling with this error from past 4 days but still I am unable to fix it.
asked Feb 27 mphil 2.3k points
0 votes
1 answer 226 views
Problem : I am completely new to the Notepad++ and C++ programming language. I am unable to figure out that what has gone wrong in my coding, may be it might look simple to resolved to many. I tried a lot to search for the solution, but without any ... NppExec script taken as below : NPP_SAVE CD $(CURRENT_DIRECTORY) Compiled.exe -c -w "$(FILE_NAME)" Please guide me in resolving this issue.
asked Dec 16, 2019 alecxe 7.5k points
1 vote
1 answer 19 views
Problem: I have recently started learning file handling with Python. I am currently having the folder which is full of pdf files. My task is to remove all the spaces from all the file names and then try to replace them with the underscores. Please find below the code ... my issue, but I have tried to look all over and still unable to find the solution for my above error related to file handling.
asked Jun 2 Martin K 6.6k points
1 vote
1 answer 13 views
Problem: I have started learning java a few days earlier. I was doing good so far except I git the error: java.io.FileNotFoundException: (The system cannot find the file specified) I was trying to read a file from my system as an assignment but it&rsquo;s not working in my ... System.out.println(reader.readLine()); } catch (IOException e) { System.out.println(e); } } } Thanks for your help, mate.
asked Apr 2 Gavin 15.1k points
0 votes
1 answer 99 views
Problem : I am currently working with arduino nano and facing following error avrdude: ser_open(): can't open device "\\.\com1": the system cannot find the file specified.
asked Nov 14, 2019 peterlaw 6.9k points