Did you know ... Search Documentation:
PublicShow source
Source can_open_file(+Path, +Mode)
Succeeds if the user has access to `File' in mode `Mode'. Fails silently if this is not the case. `Mode' is one of {read, write, both}. This used to be difficult. Since we have access_file/2 it is merely a Quintus compatibility predicate and should be in quintus.pl. We will leave it here for compatibility reasons.
- Use access_file/2.
Source chdir(+Dir) is det
Change Working Directory.
- Use using working_directory/2.