Check if folder (or file) exists under XP
Ken Ray
kray at sonsothunder.com
Mon Jun 11 17:42:50 EDT 2007
On Mon, 11 Jun 2007 21:15:52 +0000, runrev260805 at m-r-d.de wrote:
> Hi,
>
> is there a command/function in rev, which checks if a folder or file
> exists under windows xp?
>
> Searched the docs and Gmane for "folder" and "direcotry". Couldn´t
> find anything.
>
> Any ideas?
Check out "there is a folder", as in:
if there is a folder "C:\Program Files\MyApp" then
answer "Yahoo!"
else
answer "Bummer!"
end if
BTW, you can also use "there is not a folder" to check to see if the
folder *doesn't* exist.
Ken Ray
Sons of Thunder Software, Inc.
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/
More information about the use-livecode
mailing list