how to embed shell script within a .BAT file

Eric Blake
Fri Nov 7 21:32:00 GMT 2014

On 11/07/2014 10:26 PM, Nellis, Kenneth wrote:
> I'm tired of creating pairs of script files:  a clickable .BAT file 
> to invoke my shell script and then my shell script to do the actual
> work. I was wondering if any of the geniuses on this list have come 
> up with a way to embed a shell script inside a clickable .BAT file.

A quick google search for "polyglot shell bat" finds:

Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 539 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the Cygwin mailing list