This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Run bash script in cmd with cygwin
- From: Ulrich Pogson <grapplerulrich at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 25 Sep 2013 08:33:28 +0200
- Subject: Re: Run bash script in cmd with cygwin
- Authentication-results: sourceware.org; auth=none
- References: <CACOaVDt1UgN2X5XkHf4HcGB2gQQqLKD3QcHZiY5gnpeciCarnA at mail dot gmail dot com>
Thanks Matt, after try everything I could not get it to work. Could
you give me the whole code that I could enter in cmd that would run
cygwin and then run the script?
On 24 September 2013 23:43, Ulrich Pogson <grapplerulrich@gmail.com> wrote:
> Hello
>
> I would like to run this script `for file in `find . -name "*.po"` ;
> do msgfmt -o ${file/.po/.mo} $file ; done` in windows cmd. The script
> need to run in a different folder. I have been able to run it though
> cygwin but want to integrate it with another system where it will be
> run through cmd.
>
> C:\cygwin\bin
> D:\path\to\dir
>
> How can I do this?
>
> Thanks.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple