Just to ask the question

In DF20 is File_Exist expecting a Unicode or ANSI string ?

I'm assuming Unicode

I only asking as in existing code we have (ToAnsI()) around the path

I can see here if it is on NTFS then it is unicode but FAT32 can still use OEM codepages

https://docs.microsoft.com/en-us/win...-in-file-names

I can't think there is much FAT32 these days outside of USB sticks and SD cards