Re: How do I determine if a file is present, given a path to where it should be
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