public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Dave Hylands <dhylands@gmail.com>
To: cygwin@cygwin.com
Subject: Re: How to pass parameters to a windows application
Date: Mon, 02 Aug 2010 06:49:00 -0000	[thread overview]
Message-ID: <AANLkTinVYGVHP9W8w-j1gudobfqZX1aNza0n2XoxqiqC@mail.gmail.com> (raw)
In-Reply-To: <E2B92C7CBBA64B158FA61FDD9DDC20BC@phoenix>

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.

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

  reply	other threads:[~2010-08-02  6:49 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 [this message]
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

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=AANLkTinVYGVHP9W8w-j1gudobfqZX1aNza0n2XoxqiqC@mail.gmail.com \
    --to=dhylands@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).