[Gambas-user] Checking if a folder/file exists

Tom mrzanderson at ...626...
Tue Apr 26 01:42:11 CEST 2005


Hi,

Just wondering if there is a function for checking if a file or folder exists? 
And also if it is possible to find out if the user has actual permssions to 
write within the folder.

Reason for this is that I am developing a program which may require the user 
to create a new folder, and if the user types a folder path that doesnt exist 
then obviously I'll get problems.

I am just using a String for the path of the folder not the File class.

Can anyone give me any suggestions? Thanks!

Tom




More information about the User mailing list