• 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: Easiest way to delete a file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Easiest way to delete a file


  • Subject: Re: Easiest way to delete a file
  • From: David Remahl <email@hidden>
  • Date: Thu, 10 Jan 2002 18:56:23 +0100

> If I have the path to a file what is the easiest way to delete it (for
> the record the files are log files and temp files my app makes in the
> users home directory. I am not talking about a virus or something)

Hehehehe..."I am not talking about a virus or something", as if that was the
only imaginable reason one would like to delete a file ;-)

> Sorry if this is a simple question, but I am just learning Cocoa.

Documented:
[NSFileManager removeFileAtPath:handler:]
<file:///System/Library/Frameworks/Foundation.framework/Versions/C/Resources
/English.lproj/Documentation/Reference/ObjC_classic/Classes/NSFileManager.ht
ml>

/ Sincerely, David Remahl


References: 
 >Easiest way to delete a file (From: email@hidden (Ben Mackin))

  • Prev by Date: Re: Database
  • Next by Date: Re: Problem with NSSplitView
  • Previous by thread: Re: Easiest way to delete a file
  • Next by thread: Re: Easiest way to delete a file
  • Index(es):
    • Date
    • Thread