On Jan 9, 2006, at 3:05 PM, Steve Crossman wrote: > herbie, > > I did look at your Apple Event examples, but had some problems and > didn't delve much further into them. > > Sample code to delete specific folders would be a godsend. > > ~ steve > > > On Jan 8, 2006, at 4:48 PM, H. Gluender wrote: > >> So use an Apple Event to the finder to delete folders. For moving >> and copying files and folders there used to be a tutorial of mine >> on the CD. Presently, you will find similar code written by R.P. >> on the CD. It shouldn't be complicated to modify it for deleting >> folders if there is no specific code example. > > > -- To unsubscribe, send ANY message to: futurebasic- > unsubscribe@... Steve, I'm probably late to the party on this thread, but why not us FSpDelete? If the folder is *empty* it should do the job. Code snippert shown below. It assumes an FSSpec for the folder is available (which is probably the case after iterating the files in a folder). I always verify the file exists before deleting, so you might want to remove that check if you already know. I'm sure Herbie has a better solution. Good luck. Brian S. dim as FSSpec fs if usr FSFileExists(fs) then fn FSpDelete(fs)