delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/09/16/08:13:55

X-Spam-Check-By: sourceware.org
Message-ID: <6339347.post@talk.nabble.com>
Date: Sat, 16 Sep 2006 05:13:37 -0700 (PDT)
From: mocs <jonas DOT ogren AT home DOT se>
To: cygwin AT cygwin DOT com
Subject: Re: Send command and parameters into cygwin.bat
In-Reply-To: <ec5e26$2fk$1@sea.gmane.org>
MIME-Version: 1.0
X-Nabble-From: jonas DOT ogren AT home DOT se
References: <5878378 DOT post AT talk DOT nabble DOT com> <ec5e26$2fk$1 AT sea DOT gmane DOT org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k8GCDp94020393

Now I can start an application in cygwin with a single command:-)

@echo off
C:
chdir C:\program\cygwin\bin
bash --login -i -c %xmds


But how should I write if I want to start the application with a certain 
parameter or input file?

What I would like to do is to run the following command "xmds -i
c:\path\ring.xmds".

Best regards!

Jonas Ă–gren
jonas DOT ogren AT home DOT se



mwoehlke-2 wrote:
> 
> mocs wrote:
>> Ive would like to edit my cygwin.bat so a command into "cygwin" starts
>> automatically with a document and some parameters, how should i write?
> 
> 'man bash'
> 
> -- 
> Matthew
> KATE: Awesome Text Editor
> 
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Send-command-and-parameters-into-cygwin.bat-tf2129841.html#a6339347
Sent from the Cygwin Users forum at Nabble.com.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019