Skip navigation.
 
mlRe: Easiest way to delete a file
FROM : David Remahl
DATE : Thu Jan 10 18:56:23 2002

> 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


Related mailsAuthorDate
mlEasiest way to delete a file bmackin Jan 10, 18:24
mlRe: Easiest way to delete a file Eric Peyton Jan 10, 18:42
mlRe: Easiest way to delete a file David Remahl Jan 10, 18:56
mlRe: Easiest way to delete a file Andreas Monitzer Jan 10, 23:03
mlRe: Easiest way to delete a file Ondra Cada Jan 11, 00:04
mlRe: Easiest way to delete a file Charles Srstka Jan 11, 01:38
mlRe: Easiest way to delete a file Andreas Monitzer Jan 11, 16:19