Re: Deleting multiple files...
- Posted by Steve Mosher <goat at DEVIL.ISN.NET> Mar 03, 2000
- 454 views
On Fri, 03 Mar 2000, The Jok3r wrote: > First of all: > > 1. I am not a 'script kiddy'. I program in Win32Asm, C, and a bit of > pascal. Sweet, what kind of code do you write? > 2. My hacking has nothing to do with why i am asking to delete > multiple files IMHO, that shouldn't matter. Basic operational information ought to be widely available. > 3. I am making a program called "Recent Remover". It will remove the > files from the RECENT directory, but so far I have only found a way > to delete 1 file at a time! (Here's where I enrage a few people, if they want to be immature, so be it) You need to do a recursive file tree walk. Since you know C, check out ftw(), and try to emulate that in Euphoria. Just hand it code that puts directories on a stack, and deletes files. Then pop the directories off the stack and delete them. > 4. I mostly don't hack, I'm more of a cracker (As you can see at my > webpage: Http://jok3r.cjb.net) Sigh. > 5. If i was too stupid to understand the code, I would not be a > leader in GHA/PC. From personal experiences 'hacking groups' (as they call themselves) tend to have idiots in control that know nothing about code, but I don't know anything about GHA. > 6. If i was planning to make a 'vile' program, I would of done it in > any other language that I know of, don't you think!!?? Exactly, C is still more widely portable than Euphoria.