From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12801 invoked by alias); 3 Aug 2010 11:43:07 -0000 Received: (qmail 12788 invoked by uid 22791); 3 Aug 2010 11:43:06 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-qy0-f171.google.com (HELO mail-qy0-f171.google.com) (209.85.216.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 03 Aug 2010 11:43:00 +0000 Received: by qyk34 with SMTP id 34so938019qyk.2 for ; Tue, 03 Aug 2010 04:42:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.219.139 with SMTP id hu11mr1007935qcb.103.1280835778629; Tue, 03 Aug 2010 04:42:58 -0700 (PDT) Received: by 10.229.230.137 with HTTP; Tue, 3 Aug 2010 04:42:58 -0700 (PDT) In-Reply-To: References: <7B35B979DF6941628DE9A6D131AA3909@phoenix> Date: Tue, 03 Aug 2010 11:43:00 -0000 Message-ID: Subject: Re: How to pass parameters to a windows application From: Andy Koppe To: cygwin@cygwin.com Content-Type: text/plain; charset=UTF-8 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/msg00055.txt.bz2 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 '\\?\UNC\' instead of '\\'. That function is deprecated for Cygwin 1.7 though, because it doesn't support Unicode or paths longer than MAX_PATH. Andy -- 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