0
votes
1answer
106 views

Cygwin messes up Windows PATH

I installed Cygwin and uninstalled it after some time on a Windows 7 machine. But, the PATH variable directories naming is not correct now. Could some one tell me how do I correct this? Log below - ...
0
votes
1answer
338 views

How to set path for MinTTY under windows/cygwin correctly?

I made windows shortcut with the following target: D:\APPS\cygwin64\bin\mintty.exe /bin/env PATH=/local/bin:/usr/local/bin:$PATH /bin/bash --login -i I was expecting it prepend path with my given ...
4
votes
1answer
221 views

How can I obtain a 'desktop' cmd.exe subshell environment when SSH'ed into cygwin?

I've successfully configured SSH under cygwin, so I can SSH into my windows user account and land at a bash shell in cygwin. This is great. However, I have a python program that I'd like to run in ...
3
votes
1answer
484 views

Does Cygwin import user variables or just system variables?

I can see windows system variables in cygwin with echo $MYVar However, user variables don't seem to work. I'm referring to the variables you set in system properties->advanced->environment ...
1
vote
2answers
106 views

Cygwin not cooperating

This is gonna sound very simple for you guys but I've never installed cygwin and the tutorial I used gave no contingency plan for when something goes wrong. I added the path C:\cygwin\bin to my Path ...
1
vote
2answers
1k views

Windows 7 environment variable not removable

I installed MKS on Windows 7 and with it MKS Toolkit was silently installed. This also seems to set some global environment variables like "TERM" and "TERMCAP". As these variables won't work together ...
6
votes
1answer
2k views

Start bash shell (cygwin) with correct path without changing directory

I need to run a cygwin shell script without changing the working directory, from outside the cygwin environment. If I run just \path\to\bash.exe -c command, then the path is not set correctly and ...
2
votes
2answers
2k views

How can I update cygwin shell environment variables set in System Properties window

Suppose I go into the System Properties window and add an environment variable to the Path. If I have a terminal window open, it will be unaware of the change, so I close it and open another one. Is ...
3
votes
3answers
872 views

If I change an environment variable can that be reflected in cygwin without restarting?

If I have an environment variable set up in windows xp, e.g. JAVA_HOME I can access this from cygwin. But if I change that environment variable through My Computer whilst cygwin is running, cygwin ...