Skip navigation.
 
mlRe: Easiest way to delete a file
FROM : Eric Peyton
DATE : Thu Jan 10 18:42:30 2002

Look at NSFileManager ...

- (BOOL)removeFileAtPath:(NSString *)path handler:handler;

You will want to read the documentation to understand the handler
correctly.

Eric


On Thursday, January 10, 2002, at 11:24  AM, Ben Mackin wrote:

> 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)
>
> Sorry if this is a simple question, but I am just learning Cocoa.
>
> Thanks,
> Ben
> _______________________________________________
> cocoa-dev mailing list | <email_removed>
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
> Do not post admin requests to the list. They will be ignored.



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