• 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 do I determine if a file is present, given a path to where it should be
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I determine if a file is present, given a path to where it should be


  • Subject: Re: How do I determine if a file is present, given a path to where it should be
  • From: Will Mason <email@hidden>
  • Date: Thu, 11 Nov 2004 09:34:20 -0800 (PST)
  • Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys

Also,

access("/the/file/you/want/to/check", F_OK);

Cheers,
Will Mason

--- Scott Mitchell <email@hidden> wrote:

> Never mind I figured it out
>
> [NSFileManager fileExistsAtPath:]
>
> Thanks,
> Scott Mitchell
> Macintosh Software Engineer
> Excelsior Software
> http://www.excelsiorsoftware.com
>
> On Nov 11, 2004, at 9:24 AM, Scott Mitchell wrote:
>
> > Hi,
> > I am pulling my hair out here trying to figure this out. I have a
> user
> > defined path, where a file should be. I need to determine if the
> file
> > is present, and if not Alert the user the required file is not
> where
> > they say it is. But for the life of me, I can not figure out how to
> do
> > it.
> >
> > I know this is probably pretty easy, but I can not see a way to do
> it.
> >
> > Thanks for any help.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: How do I determine if a file is present, given a path to where it should be (From: Scott Mitchell <email@hidden>)

  • Prev by Date: Controller Issues with keys
  • Next by Date: Launching System Prefs
  • Previous by thread: Re: How do I determine if a file is present, given a path to where it should be
  • Next by thread: NSTextView, bottom region of text missing in the view
  • Index(es):
    • Date
    • Thread