Sample Header Ad - 728x90

Removing a directory from PATH

88 votes
18 answers
403837 views
I'm trying to compile wxWidgets using MingW, and I have cygwin in my path, which seems to conflict. So I would like to remove /d/Programme/cygwin/bin from the PATH variable and I wonder if there is some elegant way to do this. The naive approach would be to echo it to a file, remove it manually and source it, but I bet there is better approach to this.
Asked by Devolus (1001 rep)
Jan 11, 2014, 01:44 PM
Last activity: Jan 9, 2025, 10:57 AM