[futurebasic] Re: [FB] Removing files

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 2010 : Group Archive : Group : All Groups

From: Brian S <fblistserve@...>
Date: Mon, 25 Jan 2010 14:22:50 -0700
On Jan 24, 2010, at 9:00 AM, Bernie wrote:

>
>>
>> Piet asked:
>>
>>> can I remove alle the files in the folder "HD:Soft:Optimafiles" at  
>>> once by some way ?
>>
>> "There's a method for that" <http://homepage.ntlworld.com/bernie.w/DirectoryEnumerator.zip 
>> >
>> Works with FSRefs but I'm sure it can be adapted to use paths.
>>
>
> This version is a bit tidier. It does not have a callback, takes a  
> directory path and removes all objects (including subdirectories)  
> from the target directory: <http://homepage.ntlworld.com/bernie.w/RemoveAllObjectsInDirectory.zip 
> >.

Please note the use of an Objective-C solution.


Brian S