DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 4AFDLL9I1264181 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 4AFDLL9I1264181 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=PxlxdzIp X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2799F385842A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1731676879; bh=pq2n89xwjJ1+IFqpFuNxDKV55sA7LLnhS54kwZH2LGI=; 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=PxlxdzIpCA6rFl4QP9+p1wxOV/GCx0j/08xh4Wp/WYMkaR90kBSkHT/Sz3uSO2Awi aARoKFPi14skoUpGR4caodbllXX+WDKZJIZRMGlx9p0tVOnExuPLdTbHRR/j9EEi2I IWY/VZKLooxODPo9woiQ51fa6qI9O4r+eLJ/0vrI= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AAED73858D3C ARC-Filter: OpenARC Filter v1.0.0 sourceware.org AAED73858D3C ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1731676804; cv=none; b=NtsEL0Qq5zDwlU8008Wr37p0Wn9wIFVt4S8P45MOFIVoNfPc1+dCB8K2RkuG9IsuSBk42GCPzFGlEOWXSZ2y67sFEFZ0Mh875lQyXEE+6We60MQWMyZVzKEqui4Z0Zthdl9XJYMU3XCc++eOJmW/7waBNjLUraNk2vaRz9KIjuk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1731676804; c=relaxed/simple; bh=R56HFoupZWSXnfbVAjjld/KJieV0OZk1FCV5VawO7AY=; h=DKIM-Signature:Date:From:Message-ID:To:Subject:MIME-Version; b=wGahMjvClwMIiqTBQYERopmdLvzc7Hpk3tBNNilJQsZOqVteOT23afy7YM+sizZi71f01/PqBQtMP1GdIYaK2BAYChD4MkPJ3RjoQxqiH7Hrc7CwhdJUEMSwHwFLBX7sLsrcGBuwlMKq1agECg9JR30rafT94Xyrwn9+hHj5HJY= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AAED73858D3C X-Yandex-Fwd: 1 Date: Fri, 15 Nov 2024 16:13:10 +0300 X-Mailer: The Bat! (v9.3.4) Professional Message-ID: <1761362571.20241115161310@yandex.ru> To: Soren , cygwin AT cygwin DOT com Subject: Re: cygpath command no longer accepts -s (--short-name) switch In-Reply-To: References: MIME-Version: 1.0 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: Andrey Repin via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Andrey Repin 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" Greetings, Soren! > 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. Adding to the previous responses, there could simply be no short name. Check `cmd /C DIR /X`. Or for a more common solution, a batch script like @FOR %%i IN (%*) DO ECHO %%~si will be helpful. Pass it a list of names/paths and it will print the short versions of them line by line. -- With best regards, Andrey Repin Friday, November 15, 2024 15:59:39 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