This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Unable to delete Cygwin from PATH environment variable
- From: Dan Kegel <dank at kegel dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 23 Mar 2017 16:08:06 -0700
- Subject: Re: Unable to delete Cygwin from PATH environment variable
- Authentication-results: sourceware.org; auth=none
- References: <CAOqcJJE9u=xSPkvMSeXZTHDKfBS58XBEhq2c+Jv4dPT-b9rCLA@mail.gmail.com>
On Thu, Mar 23, 2017 at 2:10 PM, Tanya Sandoval
<sandoval.tanya2@gmail.com> wrote:
> I recently had to reinstall Cygwin and in doing so, I have ran into a
> problem with some application because Cygwin seems to be appended to
> my PATH environment variable. I have tried to remove this by following
> these instructions https://www.java.com/en/download/help/path.xml but
> something strange happens. If I look at the value of Path under
> 'Environment Variables', Cygwin is not there; however if I type PATH
> in cmd.exe, I see Cygwin gets appended at the end of the PATH. Can you
> please help me to know to remove Cygwin from the PATH?
There are two places to add environment variables:
the System Variables and the User Variables.
See https://www.copsmodels.com/gpsetenv.htm
for screenshots.
Did you check both? (Also, it's possible the list
might need scrolling to see the end.)
Also, changes only show up when you start a new cmd.exe,
maybe you were looking at a cmd.exe window that had
been started before the change.
- Dan
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple