Re: How to pass parameters to a windows application

2010-08-05 Thread Corinna Vinschen
On Aug 4 20:40, Andy Koppe wrote: > On 4 August 2010 12:26, Corinna Vinschen wrote: > > It's a shame that not even the official Win32 APIs are always clean > > in terms of the long path name definition. > > Yep, and MSDN doesn't even seem to mention it. > > >> Therefore I'm wondering whether it

Re: How to pass parameters to a windows application

2010-08-04 Thread Andy Koppe
On 4 August 2010 12:26, Corinna Vinschen wrote: > It's a shame that not even the official Win32 APIs are always clean > in terms of the long path name definition. Yep, and MSDN doesn't even seem to mention it. >> Therefore I'm wondering whether it wouldn't be better to address this >> once and fo

Re: How to pass parameters to a windows application

2010-08-04 Thread Corinna Vinschen
On Aug 3 12:26, Andy Koppe wrote: > On 2 August 2010 12:56, Jason Pyeron wrote: > >> 'cygstart'. > > > > It does not play nice with unc paths. Starting by cmd.exe /c start path > > does. > > Suggestions? > > > > > > jpye...@phoenix /projects/cdnetdb/private/fxiao/cdnet > > $ cygstart . > > > > jp

Re: How to pass parameters to a windows application

2010-08-03 Thread Andy Koppe
On 3 August 2010 00:17, Dave Hylands wrote: >> [cygstart] does not play nice with unc paths. >> Starting by cmd.exe /c start path does. >> Suggestions? > > My open utility plays nice with UNC paths... ... because it uses cygwin_posix_to_win32_path_list(), which doesn't produce paths starting with

Re: How to pass parameters to a windows application

2010-08-03 Thread Andy Koppe
On 2 August 2010 12:56, Jason Pyeron wrote: >> 'cygstart'. > > It does not play nice with unc paths. Starting by cmd.exe /c start path does. > Suggestions? > > > jpye...@phoenix /projects/cdnetdb/private/fxiao/cdnet > $ cygstart . > > jpye...@phoenix /projects/cdnetdb/private/fxiao/cdnet > $ cygsta

Re: How to pass parameters to a windows application

2010-08-03 Thread Csaba Raduly
On Mon, Aug 2, 2010 at 2:43 AM, Jason Pyeron 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"" > > jpye...@phoenix /projects/crisfield > $ cmd /c "\"start \"\"

Re: How to pass parameters to a windows application

2010-08-02 Thread Dave Hylands
Hi Jason, >> You should both have a look at 'cygstart'. > > Hint taken, do not write what already exists. Thanks > > It does not play nice with unc paths. Starting by cmd.exe /c start path does. > Suggestions? My open utility plays nice with UNC paths... I think I wrote open many many years ago

Re: How to pass parameters to a windows application

2010-08-02 Thread Andrey Repin
Greetings, Jason Pyeron! > 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"" > jpye...@phoenix /projects/crisfield > $ cmd /c "\"start \"\" \"C:\\Documents and Settings\\

RE: How to pass parameters to a windows application

2010-08-02 Thread Jason Pyeron
> -Original Message- > From: cygwin-ow...@cygwin.com > [mailto:cygwin-ow...@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, > &g

RE: How to pass parameters to a windows application

2010-08-02 Thread Jason Pyeron
in.com > [mailto:cygwin-ow...@cygwin.com] On Behalf Of Andy Koppe > Sent: Monday, August 02, 2010 5:31 > To: cygwin@cygwin.com > Subject: Re: How to pass parameters to a windows application > > On 2 August 2010 07:49, Dave Hylands wrote: > > > > On Sun, Aug 1, 2010 at

Re: How to pass parameters to a windows application

2010-08-02 Thread Harald Joerg
Andy Koppe writes: > On 2 August 2010 07:49, Dave Hylands wrote: >> >> On Sun, Aug 1, 2010 at 5:43 PM, Jason Pyeron 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\crisfie

Re: How to pass parameters to a windows application

2010-08-02 Thread Andy Koppe
On 2 August 2010 07:49, Dave Hylands wrote: > > On Sun, Aug 1, 2010 at 5:43 PM, Jason Pyeron 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 y

Re: How to pass parameters to a windows application

2010-08-01 Thread Dave Hylands
Hi Jason, On Sun, Aug 1, 2010 at 5:43 PM, Jason Pyeron 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

How to pass parameters to a windows application

2010-08-01 Thread Jason Pyeron
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"" jpye...@phoenix /projects/crisfield $ cmd /c "\"start \"\" \"C:\\Documents and Settings\\All Users\\Desktop\\projects\\crisf