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: How to pass parameters to a windows application


 

> -----Original Message-----
> From: cygwin-owner@cygwin.com 
> [mailto:cygwin-owner@cygwin.com] On Behalf Of Dave Hylands
> Sent: Monday, August 02, 2010 2:50
> To: cygwin@cygwin.com
> Subject: Re: How to pass parameters to a windows application
> 
> Hi Jason,
> 
> On Sun, Aug 1, 2010 at 5:43 PM, Jason Pyeron <jpyeron@pdinc.us> wrote:
> > I am at my wits end trying to figure out how to execute this in bash
> >
> > C:\WINDOWS>cmd /c "start "" "C:\Documents and Settings\All 
> > Users\Desktop\projects\crisfield\trunk\etc""
> 
> Based on your prompt, I'd say that you're not in bash.

Yes the first example was not bash, that was my reference for what I am trying
in bash.

> 
> cmd /c start "c:\Documents and Settings\"
> 
> works for me. From the cmd prompt,
> 
> cmd /c "start "c:\Documents and Settings""
> 
> works. I wrote a little program called open, 
> http://www.davehylands.com/Software/Open/
> 
> which opens files the same way as double clicking on them. It 
> also translates cygwin paths into Win32 paths if you build 
> the cygwin version.
> If passed a directory name, it does the same as choosing "Explore".
> 
> --
> Dave Hylands
> Shuswap, BC, Canada
> http://www.DaveHylands.com/
> 
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> 


--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Principal Consultant              10 West 24th Street #100    -
- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.



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


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