Re: system() help

new topic     » goto parent     » topic index » view thread      » older message » newer message
gbonvehi said...

Wow, nice work Greg, I think he should use that wrapper heh :) Mine actually wraps removeDirectory, but also does a recursive file deletion inside it if it's not empty. I could have used euphoria's dir() routine (in case someone is thinking about that), but well, I was wrapping one thing... and I was tempted by another.. heh

The thing about SHFileOperation is that it acts just as if you were performing the operation yourself. So if you FO_DELETE a directory, the whole thing gets deleted automatically. You could also include FOF_ALLOWUNDO to allow the user to reverse your operation, should they be so inclined. blink

-Greg

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu