X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:content-type :content-transfer-encoding:mime-version; q=dns; s=default; b=Kf9 ECAgD2IhzKBdYMw7T2hXWcFzL5zOBV0NANN/VOcrC3xonW7HSzx8/1kq0lt6HL8k ggpVK5MlvrLCPbJXMVZpzQBcW6RAV6dSjX0E+HaPVaJLqjZzMh3914COkNmmgoRe 0d1gl5OeAYFKOvhktMg6yR3kNNqlWmOKp4wVsnZk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:content-type :content-transfer-encoding:mime-version; s=default; bh=0cVtNuLi4 +AyyGSbX+KYjQgGH/U=; b=hfFrvs06JHPswsO8l5yejjqTXpwbMoywjuUPxbLtx qXWwSoaUwq+uv0cfsz8lZ8t7haZd4C1lMLR5D8qWHgTgMQbUStROk9TUuXnspW2o xI8V/z+n18K6JTYW9JkHPjrymlKtWqG1uXeIOoI798bT/tAidYDpFX1g79op+NhA eQ= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.8 required=5.0 tests=AWL,BAYES_20 autolearn=ham version=3.3.2 X-HELO: USA7109MR006.ACS-INC.COM From: "Nellis, Kenneth" To: "cygwin AT cygwin DOT com" Subject: how to embed shell script within a .BAT file Date: Fri, 7 Nov 2014 21:26:03 +0000 Message-ID: <0D835E9B9CD07F40A48423F80D3B5A702E8379F0@USA7109MB022.na.xerox.net> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id sA7LQJk1029263 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. --Ken Nellis -- 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