file exist

R

Rick Brandt

Lior said:
hi,

what is the command to check if file exist ?

thanks.

Dir("path to file")

It will return the name of the file if it exists and "" if it does not.
 
S

Storrboy

Lior Montia said:
hi,

what is the command to check if file exist ?

thanks.

Dir() will see if a file of folder exists, but only if you have access to it
(permissions, connectivity). I'm not sure you can see if something exists
without those permissions.
 
Top