Re: Running a command on cygwin launch

2006-10-25 Thread Larry Hall (Cygwin)
. Reformatted. Wynfield Henman wrote: On 10/26/06, Larry Hall (Cygwin) cygwin com> wrote: ^^^ . Don't feed the spammers. Thanks. Ben Le

Re: Running a command on cygwin launch

2006-10-25 Thread Wynfield Henman
Larry, at the prompt type: echo $HOME then put the BASH comnmands you want to be executed in the $HOME/.bash_profile file. If there isn't one, make one ( a plain text file with /n line endings). Normally this is were you set enviroment variables, etc. Cheers. On 10/26/06, Larry Hall (Cyg

Re: Running a command on cygwin launch

2006-10-25 Thread Larry Hall (Cygwin)
Ben LeBar wrote: Hi, I was wondering if there was any way to run a command on cygwin either through a batch file while launching cygwin or once launched. I heard that I could use a .batchrc file to do this, so I created one containing the command I wanted executed and put it in my home director

Re: Running a command on cygwin launch

2006-10-25 Thread Andrew DeFaria
Ben LeBar wrote: Disregard my previous email - I figured out that i needed .bash_profile in my home directory instead of .bashrc Actually you typed .batchrc not .bashrc, which would explain it. .bash_profile get's executed when you "login" whereas .bashrc get's executed when you start bash. So,

Re: Running a command on cygwin launch

2006-10-25 Thread Ben LeBar
Disregard my previous email - I figured out that i needed .bash_profile in my home directory instead of .bashrc -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: