delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <450C3390.9050707@cygwin.com> |
Date: | Sat, 16 Sep 2006 13:25:36 -0400 |
From: | "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com> |
Reply-To: | cygwin AT cygwin DOT com |
User-Agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.5) Gecko/20060727 Fedora/1.5.0.5-1.fc4.remi Thunderbird/1.5.0.5 Mnenhy/0.7.4.0 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Send command and parameters into cygwin.bat |
References: | <5878378 DOT post AT talk DOT nabble DOT com> <ec5e26$2fk$1 AT sea DOT gmane DOT org> <6339347 DOT post AT talk DOT nabble DOT com> |
In-Reply-To: | <6339347.post@talk.nabble.com> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
<http://cygwin.com/acronyms/#TOFU>. Reformatted. mocs wrote: > 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' > > > 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". > I see nothing wrong with the command you propose, with the exception that I recommend POSIX paths if 'xmds' is a Cygwin app. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |