Send command and parameters into cygwin.bat
Larry Hall (Cygwin)
reply-to-list-only-lh@cygwin.com
Sat Sep 16 17:25:00 GMT 2006
<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/
More information about the Cygwin
mailing list