Menu Close

How to execute a bat file from cygwin bash

How to execute a bat file from cygwin bash?

Here is:

Assuming your bat file name is “test.bat”

1. Open Cygwin terminal window

2. Change the path to your bat file folder

3. Change the bat file access permissions to Execute by

chmod +x test.bat

4. Execute the bat file at

./test.bat

 

Leave a Reply

Your email address will not be published. Required fields are marked *

*

* Copy This Password *

* Type Or Paste Password Here *

18,519 Spam Comments Blocked so far by Spam Free Wordpress

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>