Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Bob Latham Newsgroups: comp.sys.acorn.programmer Subject: OS_File case sensitive Date: Tue, 24 Feb 2026 12:21:14 +0000 (GMT) Organization: None Lines: 18 Message-ID: <5cb028ab62bob@sick-of-spam.invalid> X-Trace: individual.net 8OjESaYMggpGohGoso84swnFhCIUlPr4NELazlyVhpeumEl9D4 X-Orig-Path: sick-of-spam.invalid!bob Cancel-Lock: sha1:vhD6L02ns/Z3oxln/tp3Th1y1Ds= sha256:zLsLLOWKA3vAmJB9zRFjeQNdBg14X1X9lm7DZshfv1A= X-No-Archive: Yes User-Agent: NewsHound/v1.54 Xref: csiph.com comp.sys.acorn.programmer:6607 I'm trying to find a way to check if a directory on a NAS contains any music files. .flac .mp3 .m4a I've had the realisation this morning that OS_File 13 is case sensitive so setting R1 to point to */flac will not cut it. So to find if a (NAS) directory contains any flac files it looks like I would need to test for flac and Flac and FLAC etc. any combination. The only solution I can see is to use OS_GBPB to read the name of file after file and mask out the upper lower case bit ie &DF and if nothing is found early I have to read every name in the directory. Is there a better way? Cheers, Bob.