[GNC] surprising glob() result on Windows

Stan Brown the_stan_brown at fastmail.fm
Mon May 1 08:53:32 EDT 2023


My apologies -- this was intended for a different mailing list.

Stan Brown
Tehachapi, CA, USA
https://BrownMath.com

On 2023-05-01 05:46, Stan Brown wrote:
> On 2023-04-30 20:58, Enan Ajmain wrote:
>> On Sat, 29 Apr 2023 12:37:19 -0700
>> Stan Brown <the_stan_brown at fastmail.fm> wrote:
>>> Some time after that, I'm not sure when but certainly by the release of
>>> Windows 10, it became possible to disable SFNs for any particular disk
>>> partition. And sometime after that, "LFNs only" became the default. But
>>> your disk is obviously set to create SFNs from longer filenames.
>>
>> I donno if something changed in Windows 11, but it doesn't seem like
>> "LFN only" is the default anymore.  I didn't change any setting (didnt
>> even know about them) and I get the same behavior Mike describes.  It's
>> just that I never had multiple files where one's extension is a
>> substring of the other's, so I havent faced this issue.
> 
> On my Windows 10 Pro system, my boot partition "C:" had SFNs and LFNs,
> but the new partitions I created on the same physical drive had LFNs
> only. I don't know if it would have been the same on Windows 10 Home, or
> on Windows 11 Home and Pro. In any case, SFNs seem to be enabled on the
> partition where the OP is running.
> 
> <https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/fsutil-8dot3name>
> explains how to enable or disable SFNs on a partition. There are
> warnings about not disabling SFNs on a partition that already has them.
> 
> Stan Brown
> Tehachapi, CA, USA
> https://BrownMath.com


More information about the gnucash-user mailing list