changing the home folder name
changing the home folder name
how do you let cygwin open another home folder???
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:
HTH
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: Select all
cd ..
cd ..
cd projects
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: Select all
# 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