--On Monday, April 07, 2008 10:25 AM +0200 Michael Holm <[EMAIL PROTECTED]> wrote:
Hi, I have read a lot of documents, but i really cant get this issue solved :( All i want is to be able to execute bash scripts from a windows desktop.. what i do now is.. a batch script: c:\cygwin\bin\bash c:\cygwin\example.sh this is my bash script. example.sh ls -l but i get the following output: command not found. i hope that someone can give me a hit... all i have done is: install cygwin, made my batch script.. and made my bash script.. do i need to set any environment vars or something? mvh Michael Holm
Add the -l option to bash. i.e. "man bash" for an explanation This makes it a login shell which must cause the PATH variable to be set. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

