Groups | Search | Server Info | Login | Register


Groups > comp.sys.acorn.programmer > #6607

OS_File case sensitive

From Bob Latham <bob@sick-of-spam.invalid>
Newsgroups comp.sys.acorn.programmer
Subject OS_File case sensitive
Date 2026-02-24 12:21 +0000
Organization None
Message-ID <5cb028ab62bob@sick-of-spam.invalid> (permalink)

Show all headers | View raw


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.

Back to comp.sys.acorn.programmer | Previous | NextNext in thread | Find similar


Thread

OS_File case sensitive Bob Latham <bob@sick-of-spam.invalid> - 2026-02-24 12:21 +0000
  Re: OS_File case sensitive Steve Fryatt <news@stevefryatt.org.uk> - 2026-02-24 19:20 +0000
    Re: OS_File case sensitive Bob Latham <bob@sick-of-spam.invalid> - 2026-02-24 21:50 +0000

csiph-web