X-Recipient: archive-cygwin AT delorie DOT com 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 MIME-Version: 1.0 In-Reply-To: References: <7B35B979DF6941628DE9A6D131AA3909 AT phoenix> Date: Tue, 3 Aug 2010 12:42:58 +0100 Message-ID: Subject: Re: How to pass parameters to a windows application From: Andy Koppe To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 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 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