PaleoEarthLabs wiki

One bucket of limited wisdom

User Tools

Site Tools


Windows tips and tricks

Setting your $PATH

Stackoverflow to the rescue here:

set PATH=%PATH%;C:\xampp\php

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

Command line use

software/windows.txt · Last modified: 2017/05/08 15:13 by christian