

The access_file/2 predicate is broken on Windows. Emulating the POSIX
access()
system call is practically impossible on Windows. This also affects absolute_file_name/3 using
the access(+Mode)
option. Portable code should use open/3,4 directly and handle the
possible permission_error(open, source_sink, Path)
exception.