In message <[EMAIL PROTECTED]>, Buchbinder, Barry \(NIH/NIAID\) [E] wrote:

> on Tuesday, October 31, 2006 1:33 PM, [EMAIL PROTECTED] wrote:

> > but is there away to double click on a file in Windows and have it
> > invoke the bash console and execute my script?   

> Set up a windows shortcut that calls bash program with options:
> 
>       c:\cygwin\bin\bash.exe -c /usr/local/bin/script.sh
> 
> If the script takes options you may need to include quotes.
> 
>       c:\cygwin\bin\bash.exe -c '/usr/local/bin/script.sh opt1 opt2'

Thanks.

>
> But I would suggest a newbie get very familiar with now things work when
> you type at the command line before you do something like this.

Fair enough.

Cheers,
Adam

-- 
Adam Richardson
Carpe Diem

--
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/

Reply via email to