how to embed shell script within a .BAT file

Eric Blake eblake@redhat.com
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:
http://www.spinellis.gr/blog/20100112/

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 539 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20141107/b8ec1ee6/attachment.sig>


More information about the Cygwin mailing list