0
I always enter the computer in this directory:
/cygdrive/c/Program Files/ICW/var
How can I change that?
0
I always enter the computer in this directory:
/cygdrive/c/Program Files/ICW/var
How can I change that?
1
What does echo ~
print after you have logged in?
I'm pretty sure that is your home directory, as defined in /etc/passwd
inside your Cygwin environment.
So either:
/etc/passwd
and change the entry for your user to the directory you prefer
(note that it might be overridden when you run mkpasswd
)cd
automatically after logging incd <some other directory>
to the bottom of your ~/.bashrc
One of those should do the trick.
If not, try this:
env | find "var"
and see which variables are printed%USERPROFILE%
or %HOMEPATH%
are set to that directorynet user /PROFILEPATH:<new dir>
should helpor this:
grep -R ICW /etc
/etc/profile
or a similar startup script