delorie.com/archives/browse.cgi | search |
DMARC-Filter: | OpenDMARC Filter v1.4.2 delorie.com 4BGD6MDd3691383 |
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 4BGD6MDd3691383 |
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=M5sZct/+ | |
X-Recipient: | archive-cygwin AT delorie DOT com |
DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org 5B6C93858406 |
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; |
s=default; t=1734354380; | |
bh=Ep3Cby96J/cDtDNIQ7rChUxXmQG9Aj8K1XK6OcgagvA=; | |
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe: | |
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: | |
From; | |
b=M5sZct/+3u4LErI24Do7woHrVDlHiz8a1oZWjvkfR3N2OxC2czBmre6JIkefvgK6w | |
JnP3VouZTOyuNXkiEUn6o9yxS1nVuVIeskX4Reo3BV4v7VSO8ljGHiwUvTiFCnnzup | |
PT9UUzvc1a5jRTeHJjwK4bFvwnZRW4x1bNiFoSRs= | |
X-Original-To: | cygwin AT cygwin DOT com |
Delivered-To: | cygwin AT cygwin DOT com |
DMARC-Filter: | OpenDMARC Filter v1.4.2 sourceware.org A23C73858404 |
ARC-Filter: | OpenARC Filter v1.0.0 sourceware.org A23C73858404 |
ARC-Seal: | i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1734354303; cv=none; |
b=qydHaRIxe2wQNp3e+Wxnk64hw+lR9jsVyIo1WN4XKNikEQurprMyYoN0jJRloEiEG+dMt4LLXS5npUgox8Wamp0uGHDQpjurB4UBVO0WyqIve4CRJ5mhRPlt0d6YSjYC7gLIXfyWtWUDTwjXKg6bbV0XFlE2K+u6TwqyhPDVC/c= | |
ARC-Message-Signature: | i=1; a=rsa-sha256; d=sourceware.org; s=key; |
t=1734354303; c=relaxed/simple; | |
bh=aPhXlPilVcOgKS6dWtDOH6qyz+iS1OgFZo3WyHoxWx0=; | |
h=DKIM-Signature:Date:From:Message-ID:To:Subject:MIME-Version; | |
b=OP0wx0v86xH2QaJbttNvNrYIYUOSDR0eqc6wgg+zBVvn1H1i8rDr7AxSRxH990tNhEmSsGTrQFfTyMCkhEa7omLSSesBbqjwx51Vmg1/iI43P1hIj/K3aY+/esMthJ9E4wMggDe+akRfxwrX3MtH5qELuaxFLC7bzEl3Q/O1bC4= | |
ARC-Authentication-Results: | i=1; server2.sourceware.org |
DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org A23C73858404 |
X-Yandex-Fwd: | 1 |
Date: | Mon, 16 Dec 2024 16:00:57 +0300 |
X-Mailer: | The Bat! (v9.3.4) Professional |
Message-ID: | <1475774521.20241216160057@yandex.ru> |
To: | Federico Kircheis <federico AT kircheis DOT it>, cygwin AT cygwin DOT com |
Subject: | Re: cygpath and unc paths |
In-Reply-To: | <16f5e717-2271-4107-b1b3-f28c3a1ca47d@kircheis.it> |
References: | <ee626000-a159-4482-a897-da725f02b28c AT kircheis DOT it> |
<Z1bYfmvPYc6yFEJr AT calimero DOT vinschen DOT de> | |
<053d21b3-ee11-4858-a60d-54cd154fd98c AT kircheis DOT it> | |
<Z1buBnm2WlNEG8t1 AT calimero DOT vinschen DOT de> | |
<16f5e717-2271-4107-b1b3-f28c3a1ca47d AT kircheis DOT it> | |
MIME-Version: | 1.0 |
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-Unsubscribe: | <https://cygwin.com/mailman/options/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe> | |
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: | Andrey Repin via Cygwin <cygwin AT cygwin DOT com> |
Reply-To: | cygwin AT cygwin DOT com |
Cc: | Andrey Repin <anrdaemon AT yandex DOT ru> |
Errors-To: | cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com |
Sender: | "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com> |
Greetings, Federico Kircheis! >>> 1) >>> root path, like C:\ , because for whatever reason \\?\C:\ is not valid, it >>> has to be a subfolder (and trying to trick it with \\?\C:\\ does not work >>> either). >> > In which scenario? \\?\C:\ is just the same as \??\C:\ in NT speak, and >> that's a perfectly valid directory path. > I've never seen \??\C:\. > My test case, from powershell (which I do definitively _not_ know well > enough, otherwise I wouldn't be using cygwin) was > cd C:\ # success > cd \\?\C:\ # fail > cd C:\windows # success > cd \\?\C:\windows # success This way, you're testing command interpreter, not WinApi. The command interpreter has its own ideas about what you can and can not use with it. > and repeat the same operation with dir instead of ls. > The error message is that the "value of argument path is not valid" F.e. Far manager works just fine with `goto:\\?\C:\`. More or less. -- With best regards, Andrey Repin Monday, December 16, 2024 15:57:08 Sorry for my terrible english... -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |