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
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 mails | Author | Date |
|---|---|---|
| bmackin | Jan 10, 18:24 | |
| Eric Peyton | Jan 10, 18:42 | |
| David Remahl | Jan 10, 18:56 | |
| Andreas Monitzer | Jan 10, 23:03 | |
| Ondra Cada | Jan 11, 00:04 | |
| Charles Srstka | Jan 11, 01:38 | |
| Andreas Monitzer | Jan 11, 16:19 |






Cocoa mail archive

