Resorted to a progress solution in the end
where v-file is the file I may not have permission to write to
OUTPUT TO VALUE(v-filepath).
RUN open-file (v-file).
OUTPUT CLOSE.
OS-DELETE VALUE(V-FILEPATH).
IF RETURN-VALUE = 'OK' THEN LEAVE.
PROCEDURE open-file:
DEF...
Running Progress V8 on NT4, I am trying to check if I have write permission for an external file before opening it. However file-info:file-type always seems to contain a "W" even when I don't have write access.
Does anyone know of another way of checking this ?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.