[BEGINER] How can I check the local machine to see if a file exists

Roger Eller roger.e.eller at sealedair.com
Sat May 18 00:12:14 EDT 2013


You need to know the path, but it's as easy as:

if there is a file "c:/test.txt" then
   answer "file exists"
else
   answer" file doesn't exist"
end if

~Roger
On May 17, 2013 11:54 PM, "Shawn Blc" <shawnlivecode at gmail.com> wrote:

> How can I check the local machine to see if a file exists?
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list