views:

22

answers:

1

I have installed cygwin in C:\deepan\cygwin\ directory... how do I reinstall it in C:\ directory? I want to be able to run java in C:\programfiles\java\ folder from cygwin

+3  A: 

Try the following command (with-in Cygwin):

cd "/cygdrive/c/Program Files/Java/"

regardless of where you have cygwin installed you can change directories internally.

Syntax
this is exactly what i wanted. thanks a lot
Deepan Chakravarthy