On 1/14/2016 7:04 PM, Mark Wieder wrote:
On 01/14/2016 04:07 PM, J. Landman Gay wrote:

Does "there is a file" on Windows
return "false" if the user doesn't have permission to access the file?

I would hope so.

Okay, just to finish this up, I found the definitive answer in the Microsoft docs:

"File.Exists Method (String)
Type: System.Boolean

true if the caller has the required permissions and path contains the name of an existing file; otherwise, false. This method also returns false if path is null, an invalid path, or a zero-length string. If the caller does not have sufficient permissions to read the specified file, no exception is thrown and the method returns false regardless of the existence of path."

Gah.

--
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to