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:date:from:reply-to:to:message-id:subject :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=At1Fgc+8vaE91R4TQYpg52Sn//8QDo2fnVT/vWvOOoqyMZ0LNoc9e p5REFI91J0CkIz7JOwJ68LqxgM9mweky91cD2vLYXJ+mUhQmKg0poR/CThznBm51 VfG3KFLWJbHmVIl+z6UNS1+isaIe3IDw3iUmLK2jARiwSevOm48WAo= 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:date:from:reply-to:to:message-id:subject :mime-version:content-type:content-transfer-encoding; s=default; bh=Jk3/4nK4uw3V2VIfk3kRo+zD2gQ=; b=BXY4x5XBiV6+tK0mcVUNix2bVPf3 WzolbiLEQWlXFvl/eGKgO/DNAZIvVm6j88H3OEE9A5KFa9sZZ1psyyQ7pKnlNe/z hRdnGqPBRjkcH1xugbJSG/0sFBpK19tTWNEH+SxskL87ydSxN8oSD6tkhzmHv2T3 4Tm5fF8tVwAO5eQ= 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=2.7 required=5.0 tests=AWL,BAYES_60,FREEMAIL_FROM,KAM_COUK,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 X-HELO: nm17-vm8.bullet.mail.ir2.yahoo.com Date: Sun, 14 Dec 2014 12:45:47 +0000 (UTC) From: Marilo Reply-To: Marilo To: "cygwin AT cygwin DOT com" Message-ID: <611194532.436042.1418561147642.JavaMail.yahoo@jws11167.mail.ir2.yahoo.com> Subject: a batch that executes a command within cygwin? MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes I would like to make a batch file that executes a command within cygwin. or tells cygwin to execute some commands when it starts. I know I can do C:\cygwin\bin>nc <--- And that works So there isnt a big reason for me to want to do it within cygwin.. But i'm interested to know if I can.. I can make a batch file that says cd \cygwin cygwin nc pause but it doesn't run the nc command. I'm interested in running a command (nc for example) within cygwin. -- 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