This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: how to embed shell script within a .BAT file


Greetings, Eric Blake!

> 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/

Worst solution I've never seen. Starting from obvious limit of nine parameters
and down to the less-than-manageable code gibberish.


--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 10.11.2014, <00:58>

Sorry for my terrible english...


--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]