By madskristensen
via madskristensen.dk
Published: Sep 12 2006 / 15:35
I’ve just finished a small application that does some IO work on files and directories. The application moves directories to new locations, but every time a folder or file was marked read-only it would of course throw an exception. The same happened with system files and folders. The obvious solution would be to add a try/catch block to the method, but I wanted something better.



Add your comment