delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/11/08/10:31:28

DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 4A8FVSMp2788630
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=dLPpxu5I
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4DF303858405
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1731079887;
bh=Yq3GXGn94x8CbL74mdormXeojg1n9nyZZOj8D/3MQGI=;
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=dLPpxu5I1UOdoeVYtEpP+03ZCL7UQXD/Avf0NANNh90xfcyLOlVIWNyiIrWM6EEfb
xJRTfD/YNk/oftzAvUkQwSrMQyD2mjc3nyXns/xOUhAA5+8liQeVA13ZyWfFmde9Ot
ZJ5pkFNLR6piJ3ZpJ4Q6H8niXioSUVz2EoZMrjic=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 898883858D21
Date: Fri, 8 Nov 2024 16:30:25 +0100
To: cygwin AT cygwin DOT com
Subject: Re: cygpath command no longer accepts -s (--short-name) switch
Message-ID: <Zy4ukTTYPJ_L2FJD@calimero.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CAGB_HuTRHEeAD+3AtVV24XXBh-CSudCoyfrOaXDsrMPhJB8yqQ AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CAGB_HuTRHEeAD+3AtVV24XXBh-CSudCoyfrOaXDsrMPhJB8yqQ@mail.gmail.com>
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: Corinna Vinschen via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
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>

On Nov  8 10:20, Soren via Cygwin wrote:
> Hello users. I have a reasonably recently installed Cygwin that I've kept
> updated with setup. I am just now seeing that the provided `cygpath`
> command no longer works the way it ought to. Could someone(s) confirm or
> deny this?  And fix it, because it is an important facility.
> 
> $ cygpath -ua --short-name '/cygdrive/c/Users/somia/Local Settings'
> [dumps you into "help"]
> $ cygpath --version
> cygpath (cygwin) 3.5.4
> 
> Appreciation in advance for your interest and help.

cygpath -s is not supported with -u.  Use -w instead:

$ cygpath -wa --short-name /mnt/c/Users/All\ Users/WindowsHolographicDevices/
C:\Users\ALLUSE~1\WINDOW~1


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

- Raw text -


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