X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 119313858017 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1637167861; bh=1Ga4d7BSrTJ9idLzllDfrru4AdHRqe06+3dakW0x9lk=; 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=d+Qjgbpcd3EnAEhTgsjnAaFmAge9wLp0oQUu3QTDL9EQZMuXetgnbdpgNKVkW+kT5 W6MwEGtr1VOBp5j6ue4iQMw7+vLgAceREc071iqAsxx2heNw6bvTz3Lt1ZoSSh/hVw rPLaSRSVA2Ga8BxU7yNL0lsmhVr7d2ec9ylg5AFk= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E1B3F3858400 X-Yandex-Fwd: 2 Date: Wed, 17 Nov 2021 19:44:54 +0300 X-Mailer: The Bat! (v6.8.8) Home X-Priority: 3 (Normal) Message-ID: <14910218332.20211117194454@yandex.ru> To: "Wolfgang S. Kechel" , cygwin AT cygwin DOT com Subject: Re: Misbehaviour of cygpath -am between versions 3.1.4 and 3.3.2 In-Reply-To: <2ebc67f4-b82c-b197-c486-f04735f6fcb0@prs.de> References: <2ebc67f4-b82c-b197-c486-f04735f6fcb0 AT prs DOT de> MIME-Version: 1.0 X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_NUMSUBJECT, KAM_SHORT, KAM_THEBAT, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 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="utf-8" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 1AHGp3iv013309 Greetings, Wolfgang S. Kechel! > The command 'cygpath -am .' yields different results between > cygwin-3.1.4-1 and cygwin-3.3.2-1 on a Windows 10 box when the current > directory is a network share. > Example with V3.1.4: > cygpath -am .  ---> P:/mytool/gbuild/wintel/libtiff > Example with V3.3.2-1 > cygpath -am .  ---> //mynas.mydomain.de/product/mytool/gbuild/wintel/libtiff I'm pretty sure there was a discussion about it earlier. > This causes UNC filenames to appear and this cmd.exe is unable to start > in those directories when started from a cygwin shell or from nmake run > in a cygwin shell. cmd.exe can be configured to STFU. >> $ cd $( cygpath -am . ) >> >> $ cmd /C DIR . >> Volume in drive \\DAEMON1\anrdaemon is anrdaemon >> Volume Serial Number is 3D5A-4F9A >> >> Directory of \\DAEMON1\anrdaemon\Documents\_ps1 >> >> 22.07.2020 10:23 . >> 27.07.2021 19:21 .. >> 28.08.2019 14:25 HTML5Video >> 22.03.2020 00:22 Maintenance >> 22.03.2020 00:23 88 wmi.btm >> 29.08.2018 18:14 1 871 dl-files.cmd >> 01.09.2019 18:01 194 ats.sh >> 3 File(s) 2 153 bytes >> 4 Dir(s) 361 313 710 080 bytes free >> >> $ > I prefer to get the old behaviour back since it worked for 20+ years up > to now - or at least an option to enable the old behavior again. The option is in https://ss64.com/nt/syntax-cmd.html (Original article from web archive: https://web.archive.org/web/20150312195558/https://support.microsoft.com/en-us/kb/156276 ) > Please note that I have not subscribed to any cygwin mailing list. Noted… -- With best regards, Andrey Repin Wednesday, November 17, 2021 19:36:02 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