Check if folder (or file) exists under XP

Jim Ault JimAultWins at yahoo.com
Mon Jun 11 18:11:04 EDT 2007



On 6/11/07 2:15 PM, "runrev260805 at m-r-d.de" <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?
> Matthias Rebbe

---->there is<------

if there is a folder
if there is a file
if there is a field
if there is a card
if there is a stack
if there is a button "Annette" of group "Mouseketeers"
if there is a icon 345 of this stack

if not(there is a field)
if not(there is a card)
----
--another approach is the "try"

   try
      put the short name of card 451 into cdName
   catch errr
       answer "There is no card 451 in this stack" & cr & errr
       exit to top
   end try

Jim Ault
Las Vegas





More information about the use-livecode mailing list