From: Csaba Raduly <rcsaba@gmail.com>
To: cygwin@cygwin.com
Subject: Re: How to pass parameters to a windows application
Date: Tue, 03 Aug 2010 07:27:00 -0000 [thread overview]
Message-ID: <AANLkTi=Y241rhy9EHgsSxywgS4DshQUj+Dq_gQXZc9_=@mail.gmail.com> (raw)
In-Reply-To: <E2B92C7CBBA64B158FA61FDD9DDC20BC@phoenix>
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""
>
> jpyeron@phoenix /projects/crisfield
> $ cmd /c "\"start \"\" \"C:\\Documents and Settings\\All
> Users\\Desktop\\projects\\crisfield\\trunk\\etc\"\""
> The filename, directory name, or volume label syntax is incorrect.
(snip)
cygstart was already suggested; if it doesn't help, try single quotes :
$ cmd /c start 'C:\Documents and Settings\All Users\...'
Bash uses backslashes as the escape character so \trunk ends up as <TAB>runk.
Single quotes prevent bash from interpreting backslashes and spaces.
--
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds
--
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
prev parent reply other threads:[~2010-08-03 7:27 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-02 0:43 Jason Pyeron
2010-08-02 6:49 ` Dave Hylands
2010-08-02 9:31 ` Andy Koppe
2010-08-02 11:55 ` Harald Joerg
2010-08-02 11:57 ` Jason Pyeron
2010-08-02 23:17 ` Dave Hylands
2010-08-03 11:43 ` Andy Koppe
2010-08-03 11:26 ` Andy Koppe
2010-08-04 11:26 ` Corinna Vinschen
2010-08-04 19:40 ` Andy Koppe
2010-08-05 8:21 ` Corinna Vinschen
2010-08-02 11:57 ` Jason Pyeron
2010-08-02 15:55 ` Andrey Repin
2010-08-03 7:27 ` Csaba Raduly [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTi=Y241rhy9EHgsSxywgS4DshQUj+Dq_gQXZc9_=@mail.gmail.com' \
--to=rcsaba@gmail.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).