Skip to main content

Problem:

Release: 3.1   You can use the call by number library routine X"91" function 69 to find out the attribute byte for a file.

Resolution:

Use the Find One File action code and specify your filename. Set the attribute byte to 01 so that it includes read-only files in the search. Upon return from this call check the attribute byte for the file.     If bit 0 is set to 1 then the file is marked as read-only.

    If bit 0 is set to 0 then it is not marked as read-only.

Look in the Net Express Help/Find under Library/Alphabetical list of Library functions.

Old KB# 6775