Re: Send command and parameters into cygwin.bat

2006-09-17 Thread Igor Peshansky
Ugh, top-posting... Reformatted. On Sun, 17 Sep 2006, mocs wrote: > Larry Hall (Cygwin) wrote: > > > > . Reformatted. > > mocs wrote: > >> mwoehlke-2 wrote: > >>> mocs wrote: > Ive would like to edit my cygwin.bat so a command into "cygwin" starts > a

Re: Send command and parameters into cygwin.bat

2006-09-17 Thread mocs
Unfortunately it doesn't work. I thhink its because that xmds doesnt get the parameter or the input file sent from the command prompt in "dos-mode" in to the bas shell in cygwin. If I edit my .bat-file and write "xmds -parameter inputfile" then it works but I need to be able to change the inputfi

Re: Send command and parameters into cygwin.bat

2006-09-16 Thread Larry Hall (Cygwin)
. 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 wi

Re: Send command and parameters into cygwin.bat

2006-09-16 Thread mocs
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 -

Re: Send command and parameters into cygwin.bat

2006-08-18 Thread mwoehlke
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: