• 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 determine if a folder exists on a system?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to determine if a folder exists on a system?


  • Subject: Re: How to determine if a folder exists on a system?
  • From: Yvan KOENIG <email@hidden>
  • Date: Wed, 8 Jul 2009 19:21:08 +0200

tell application "System Events"
if not (exists folder "/usr/local/bin") then do shell script "mkdir / usr/local/bin"
end tell


Yvan KOENIG (from FRANCE mercredi 8 juillet 2009 19:20:43)



_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >How to determine if a folder exists on a system? (From: "OSullivan, Steven" <email@hidden>)
 >Re: How to determine if a folder exists on a system? (From: Steve Thompson <email@hidden>)

  • Prev by Date: Re: How to determine if a folder exists on a system?
  • Next by Date: Re: How to determine if a folder exists on a system?
  • Previous by thread: Re: How to determine if a folder exists on a system?
  • Next by thread: do script when scripting terminal
  • Index(es):
    • Date
    • Thread