On Thu, Jun 17, 2010 at 2:17 PM, Tom Rutter <[email protected]> wrote:
> Well my reasoning was that if i create it upfront and then something down
> the line goes bad, I've now left over this directory (incomplete work).
> Plus as Ann said Directory.CreateDirectory creates all levels
> (subdirectories) in the path so i wouldn't know how to clean this up.

I actually think Raymond ( http://blogs.msdn.com/b/oldnewthing/ ) has
commented on this matter before, something to the effect of "even if
you could determine it, it may change immediately aferwards". Of
course, in your case you're probably quite in control of the
permissions and not exactly expecting them to change, but
nevertheless.

Michaels link, however (http://transactionalfilemgr.codeplex.com/)
looks like it may work for you.

-- 
silky

  http://www.programmingbranch.com/

Reply via email to