public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Alfred von Campe <alfred@von-campe.com>
To: Frank Redeker <f.redeker@razorcat.de>
Cc: cygwin@cygwin.com
Subject: Re: Unexpected behavior from cygpath command
Date: Wed, 13 Nov 2019 23:29:00 -0000	[thread overview]
Message-ID: <4A7021EA-449B-4A33-8232-A70F24BFB745@von-campe.com> (raw)
In-Reply-To: <6a4a0a99-8de9-5302-49da-1e7fd469867e@razorcat.de>

On Nov 13, 2019, at 2:08, Frank Redeker wrote:

> 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.  This setting also doesn’t explain why cygpath returns the correct DOS path when I pass it in a Unix style path instead of a Windows style path.

Alfred
--
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

  reply	other threads:[~2019-11-13 18:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-12 22:16 Alfred von Campe
2019-11-13  7:08 ` Frank Redeker
2019-11-13 23:29   ` Alfred von Campe [this message]
2019-11-14  5:22     ` Brian Inglis
2019-11-14 18:23     ` Lee
2019-11-18 20:59       ` Andrey Repin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A7021EA-449B-4A33-8232-A70F24BFB745@von-campe.com \
    --to=alfred@von-campe.com \
    --cc=cygwin@cygwin.com \
    --cc=f.redeker@razorcat.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).