X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=HsghNGmitUVdokrP FWuGqcPt5Z363/o7dgFRj1sCm8iTQByBoiziIpT988dPZiGxWie2/u6eneLfWCs/ BaiK0v+LDDOjFMBo6fjRmzZDyyRO3ANLvcyUo+rc0F9l5UsWsgIsL6Lte5hiPbb1 KGMy34pCueVLybWXf7mpPzuWnSs= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=jv7C2htITQnCb2cs3KmmnR uulxw=; b=NV/FBsHSuVrmbWtR5gsN2/0LOStNu9i54lqCstZMUrX2aQkqKVd854 dftH5PQ+m0sbqf4oImyw8cQJOZ/CFPGGQbeuUrXRB+3r3apj/HSLlDOeKhtDgrwb 3OFO8yWoOVm+l7TQzvZHTgKv8AOgDNATRkhewUVmF/Zwh76AUykG0= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.1 spammy=literally, volume, volumes, WINDOWS X-HELO: forward104j.mail.yandex.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1574024699; bh=IbHiVxfzXjszvgEYA6zagMxhTqNGpEuCdij3rbYNMhE=; h=In-Reply-To:Subject:To:Reply-To:From:Message-ID:References:Date; b=BxQarxsfCRMqmp6ZwrUpBM9nfhOqlLUihHqZ9PlVa6gAhK1YkAf2LlbgWNf0gpbl7 gbC1SRFRxa7yjdVS3v889Ts2sm1kfMIzNuoWGlvfLvvjom1Jd1pUqXM3lnAQqZL9zo vvRz1pclntOVh3aNttR7DO4/F2Yf+LPa+6JGLZRA= Authentication-Results: mxback1g.mail.yandex.net; dkim=pass header.i=@yandex.ru Date: Mon, 18 Nov 2019 00:03:48 +0300 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <184804266.20191118000348@yandex.ru> To: Lee , cygwin AT cygwin DOT com Subject: Re: Unexpected behavior from cygpath command In-Reply-To: References: <033F0B97-041F-4BE4-916E-FD4361142193 AT von-campe DOT com> <6a4a0a99-8de9-5302-49da-1e7fd469867e AT razorcat DOT de> <4A7021EA-449B-4A33-8232-A70F24BFB745 AT von-campe DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id xAHL5mcI021720 Greetings, Lee! >>> I think on both systems the handling of 8.3 names is configured >>> differently. You can check this with the Window command fsutil. (This >>> command requires elevated permissions) >>> >>> I get the following output on my system. >>> >>> C:\WINDOWS\system32>fsutil 8dot3name query d: >>> The volume state is: 0 (8dot3 name creation is enabled). >>> The registry state is: 2 (Per volume setting - the default). >> >> Thanks, I think this is very interesting, I did not know that such a setting >> existed. It was indeed disabled for my E: drive. However, after enabling >> it I still can’t get “cygpath -d" to work as expected. > Do the 8.3 names exist? > dir E:\ /n /x > ..wondering if you have to recreate the file names to get “cygpath -d" to work Wondering, why anybody would use 8.3 names in XXI century. I've consciously disabled creation of 8.3 names for all but system volumes on all systems in my reach, and never had to look back. But if you absolutely must… fsutil file setshortname Do note that such name can be literally anything. This is primary reason I disable them. To reduce amount of confusion in my daily routine. -- With best regards, Andrey Repin Monday, November 18, 2019 0:00:42 Sorry for my terrible english... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple