This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Send command and parameters into cygwin.bat


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.ogren@home.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]