• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to Test for a file ...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to Test for a file ...


  • Subject: Re: How to Test for a file ...
  • From: Jakub Formanek <email@hidden>
  • Date: Fri, 02 Jul 2004 20:32:56 +0200

On 2.7.2004 19:04, "Joe Klemmer" <email@hidden> wrote:

> On Thu, 2004-07-01 at 13:40, Laine Lee wrote:
>
>>> I was wondering if anyone could tell me how to test if a file exists?

try
do shell script "/bin/test -f /full/path/to/file"
log "file exists"
on error
log "not found"
end try



Jakub
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: How to Test for a file ...
      • From: Laine Lee <email@hidden>
References: 
 >Re: How to Test for a file ... (From: Joe Klemmer <email@hidden>)

  • Prev by Date: my mom said to use SOAP
  • Next by Date: Re: How to Test for a file ...
  • Previous by thread: Re: How to Test for a file ...
  • Next by thread: Re: How to Test for a file ...
  • Index(es):
    • Date
    • Thread