How to determine if a folder exists on a system?
How to determine if a folder exists on a system?
- Subject: How to determine if a folder exists on a system?
- From: "OSullivan, Steven" <email@hidden>
- Date: Wed, 08 Jul 2009 09:38:31 -0700
- Thread-topic: How to determine if a folder exists on a system?
Title: How to determine if a folder exists on a system?
Hello all,
I am trying to do something that I know is very simple (and documented somewhere, if I could just FIND it!) and would appreciate any and all suggestions as how to go about it.
In pseudocode, I am trying to accomplish:
if folder "/usr/local/bin" does not exist then
create it
else
exit block
end if
I do not seem to be able to track down exactly how I should reference the path (alias, POSIX, text?) and so, how to get a reliable answer as to the overall question, "Does /usr/local/bin exist on this machine?"
Thanks to any and all who reply.
Happy post 4th to any Yanks out there!
Regards,
Steve O'Sullivan
_______________________________________________
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