delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/12/06/07:24:59

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 4B6COxqm3764271
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 4B6COxqm3764271
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=CTCg5hm2
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 59EEA3858427
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1733487896;
bh=+bKIW/o/Jzv2MkKQN/9j97cwxlupARk4Oz6XI8v+Rg0=;
h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=CTCg5hm2V1LaIpvrRZo8RoC5g+RozY4JuawCgvCNhxWjvDCHnlSYNEUE1AwPRrq+C
6qxHs7UsQKvh/m+DUGmqNewg5hwIyf/BiEkXQ6LAXY0FRwTQgCtdhbCUpVCHak5PTl
BaEJ2O1rKBIfehrfJzM7+ffgxj7/Qv3tXZUbpnIg=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 911F23858D20
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 911F23858D20
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1733487816; cv=none;
b=WUYjorHOeQXQnwLYWEMOHMn+Ka+r+2T2CnYftNHXWxz1YzAQPOENT71nbmWpPwWWzOy3z7v5c0SXCQfKwRyRlELXAsuhEwApUAONH4mu7XI/oN1D0JhMN2WqblKyg+Th+3LN+a6i3BTtEZ1x+5qPayyR7YG3OdtGg5uB5FaTNUY=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1733487816; c=relaxed/simple;
bh=0KEGlzcDJZB+KbzgMrZ5qKvO18lIV9mCitsL9UTso34=;
h=DKIM-Signature:Message-ID:Date:MIME-Version:To:From:Subject;
b=PsWdtFAKAcjGfg8UiahhPtxd9GPqaqq/8UEd9QPuYnuE2Ssi6Lf0ML9Qb+j9z3/ZRhwUnW+zcMYiS9jl7SAkVzg1fAwruUbjyGKRvTGKn15aF0yg6cSflgAiYGvbXjiJjTNaEho1JMnEvZqWw20U8roJPhRjoPY3z8WT9xcenoc=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 911F23858D20
Message-ID: <ee626000-a159-4482-a897-da725f02b28c@kircheis.it>
Date: Fri, 6 Dec 2024 13:23:27 +0100
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: cygpath and unc paths
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Federico Kircheis via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Federico Kircheis <federico AT kircheis DOT it>
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

Hello,

was it considered to add a flag to cygpath to output a path in unc format?


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.

Notice that creating a dos path leads to an error.

-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019