This is the mail archive of the
mailing list for the Cygwin project.
RE: Newbie questions: missing packages / script writing
In message <31DDB7BE4BF41D4888D41709C476B657041692B9@NIHCESMLBX5.nih.gov>, Buchbinder, Barry \(NIH/NIAID\) [E] wrote:
> on Tuesday, October 31, 2006 1:33 PM, email@example.com 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'
> 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.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html