From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5743 invoked by alias); 2 Aug 2010 06:49:55 -0000 Received: (qmail 5735 invoked by uid 22791); 2 Aug 2010 06:49:54 -0000 X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-ww0-f45.google.com (HELO mail-ww0-f45.google.com) (74.125.82.45) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 02 Aug 2010 06:49:50 +0000 Received: by wwf26 with SMTP id 26so3061342wwf.2 for ; Sun, 01 Aug 2010 23:49:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.10.11 with SMTP id 11mr2364927weu.64.1280731788179; Sun, 01 Aug 2010 23:49:48 -0700 (PDT) Received: by 10.216.179.205 with HTTP; Sun, 1 Aug 2010 23:49:48 -0700 (PDT) In-Reply-To: References: Date: Mon, 02 Aug 2010 06:49:00 -0000 Message-ID: Subject: Re: How to pass parameters to a windows application From: Dave Hylands To: cygwin@cygwin.com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2010-08/txt/msg00018.txt.bz2 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. 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