DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 4B9Bka16795912 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 4B9Bka16795912 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=Asq76w+j X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 410B8385842D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1733744795; bh=wlftRS1UyCdtXkJA6ol8BQqoALkqYfZQwBjwMeT8vqI=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=Asq76w+j5omTKEwZSn6KX8PmB7lF57psY8jHj759/m0uFc4PXMxN0ManiH4OLPPjZ CHeuvMC1Tij7guNcOK8PToaY4ucr54nA0zCTZ5WNb1P7h552TsARogg3wFMDF1RIwp Zx/96z1VVkDNt1OoXUx25AZpMV3vGeRIigD+qyE8= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6E4DC3858D33 Date: Mon, 9 Dec 2024 12:46:06 +0100 To: cygwin AT cygwin DOT com Subject: Re: cygpath and unc paths Message-ID: Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Corinna Vinschen via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Corinna Vinschen Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On Dec 6 13:23, Federico Kircheis via Cygwin wrote: > Hello, > > was it considered to add a flag to cygpath to output a path in unc format? No. But it wouldn't be much work. > > > For example, the folder > > C:\test. > > cannot be accessed from many Windows applications (powershell and cmd > included) because of the trailing dot, while cygwin has no issue creating, > accessing and deleting such files/folders. > > Using an unc path > > \\?\C:\test. > > solves the issue for some programs, but cygpath currently misses an option > for creating such path. As a workaround you can just prepend the long path prefix: echo -n '\\?\'; cygpath ... > Notice that creating a dos path leads to an error. I don't understand. Creating which DOS path with which application? Corinna -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple