X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.9 required=5.0 tests=AWL,BAYES_05,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: References: From: "Wm. David Bentlage" Date: Tue, 19 Apr 2011 15:58:18 -0500 Message-ID: Subject: cygstart, mailto: URLs, and launching an executable To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi, What's the reason for the following change in cygstart between cygwin 1.5 and 1.7?=C2=A0 Can the cygwin 1.5 behavior be restored? ai016aadm01 AT app-stl-33 ~ $ uname -a CYGWIN_NT-5.2 app-stl-33 1.5.24(0.156/4/2) 2007-01-31 10:57 i686 Cygwin ai016aadm01 AT app-stl-33 ~ $ cygstart -v mailto: ShellExecute(NULL, "(null)", "mailto:", "(null)", "(null)", 1) ai016aadm01 AT app-stl-33 ~ $ cygstart -v bash ShellExecute(NULL, "(null)", "bash", "(null)", "(null)", 1) ai016aadm01 AT app-stl-33 ~ $ uname -a CYGWIN_NT-5.2 app-stl-33 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin ai016aadm01 AT app-stl-33 ~ $ cygstart -v mailto: ShellExecute(NULL, "(null)", "W:\home\m278638\mailto=EF=80=BA", "(null)", "= (null)", 1) Unable to start 'W:\home\m278638\mailto=EF=80=BA': The specified file was n= ot found. ai016aadm01 AT app-stl-33 ~ $ cygstart -v bash ShellExecute(NULL, "(null)", "W:\home\m278638\bash", "(null)", "(null)", 1) Unable to start 'W:\home\m278638\bash': The specified file was not found. Under cygwin 1.5, I could open a new email in the default application using "cygstart mailto:".=C2=A0 Under cygwin 1.7, I get an error. Performing "cygstart mailto://" will get cygwin 1.7 cygstart to recognize mailto: as a URL instead of a file, but that's not proper mailto: URL syntax. Under cygwin 1.5, a new bash window is launched (per the man page). Under cygwin 1.7, I get an error.=C2=A0 I can open bash in cygwin 1.7 if I specify the full path to the bash executable. Thanks, Dave B. -- 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