Hi Edward, On Wed, 17 Feb 2016, Edward Marshall wrote: > Edward@Edward-PC MINGW64 /f/Work > $ echo $PATH > ...(USER PATH)... I presume this is Git for Windows 2.7.1(2), installed via the default installer? And I also assume that you run this in Git Bash? Can you test whether this also happens in the PortableGit from https://github.com/git-for-windows/git/releases/latest? (These are self-extracting .7z archives, just install them somewhere else than your current installation, it won't touch your Start Menu or desktop icons.) The Git Bash is available in the portable installation as git-bash.exe in the top-leve directory. > Edward@Edward-PC MINGW64 /f/Work > $ cmd > Microsoft Windows [Version 6.1.7601] > Copyright (c) 2009 Microsoft Corporation. All rights reserved. > > F:\Work>echo %PATH% > echo %PATH% > ...(SYSTEM PATH)... > > The same is true of any child process (e.g. node.js) - they all see > SYSTEM PATH now instead of USER PATH. Are you sure that it is "instead of"? AFAICT both Git CMD and Git Bash should have the full PATH, i.e. both system and user PATH concatenated. > Running bash -l from a cmd window, has the problem. Now, this is interesting. Maybe something funky does happen in some strange place in the Bash profile. If you can reproduce this with the portable Git, it would be good to insert the line "set -x" at the top of %PORTABLEGIT%\etc\profile (that is the correct file name IIRC, it could also be bash.bash_profile, but I think the latter is included by the former). Then start bash -l again, and see whether you can find the place where it sets the PATH. To be certain, I would also recommend outputting the PATH with which Bash starts, either by inserting a line "echo $PATH" at the top of the profile file, or by starting bash without -l option. > I have no .bashrc or .bash_profile files on either system (no idea > what these are for but a colleague was trying to help diagnose the > problem - they ultimately came up empty). Could be a .profile, too, maybe. > Unfortunately I don't know what version of git I had before, and older > versions aren't offered for download so I can't trial and error. Older versions are still available (we did not remove any) from https://github.com/git-for-windows/git/releases (and if you look for the 1.x series that was using a completely different Bash/MSYS: https://github.com/msysgit/msysgit/releases). Ciao, Johannes -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html