| View previous topic :: View next topic |
| Author |
Message |
hallo007
Joined: 13 May 2006 Posts: 36
|
Posted: Thu Apr 05, 2007 9:52 pm Post subject: changing the home folder name |
|
|
| how do you let cygwin open another home folder??? |
|
| Back to top |
|
 |
califrag
Joined: 04 Apr 2007 Posts: 30
|
Posted: Fri Apr 06, 2007 5:27 am Post subject: |
|
|
Not sure if it's the correct way, but it works.
Just change the batch file and add the "cd" commands to get to your desired directory.
i.e.
If your "home" folder defaults to "\home\username" and you have a folder in "\cygwin\projects" that you want it to go to:
| Code: |
cd ..
cd ..
cd projects |
HTH |
|
| Back to top |
|
 |
hallo007
Joined: 13 May 2006 Posts: 36
|
Posted: Fri Apr 06, 2007 5:10 pm Post subject: |
|
|
yeah i did that , but it's a bit stupid:p
anyway i made a new windows account and reinstalled evrything and now everything works fine:) |
|
| Back to top |
|
 |
califrag
Joined: 04 Apr 2007 Posts: 30
|
Posted: Fri Apr 06, 2007 7:52 pm Post subject: |
|
|
glad it worked. another thing you can do is open the file bash.bashrc located in \cygwin\etc in notepad and add the cd commands there:
| Code: |
# base-files version 3.7-1
# WARNING
#
# IF THIS bash IS MODIFIED IT WILL NOT BE UPDATED BY THE CYGWIN
# SETUP PROGRAM. IT BECOMES YOUR RESPONSIBILITY.
#
# The latest version as installed by the Cygwin Setup program can
# always be found at /etc/defaults/etc/bash.bashrc
# System-wide .bashrc file
cd ../../../projects
ls
|
|
|
| Back to top |
|
 |
|