- Email:<chhei-spam <at> paleoearthlabs.org>. Remove the
Stackoverflow to the rescue here:
This adds the part after the semicolon to the
$PATH environment variable in a current terminal/console window. To set the path permanently:
setx path "%path%;C:\Program Files (x86)\Git\bin\"
But this can apparently truncate your
$PATH variable to 1024 characters:
''SETX'' truncates the resulting PATH to its first 1024 characters, with the message "WARNING: The data being saved is truncated to 1024 characters." Execute ''ECHO %PATH%'' and save its output somewhere safe beforehand.
To overcome the 1024-char limit see this post on Superuser.com.