I looked at some of the other comments on this subject but can't find one that works.
I'm running Windows 10 which is now ver 1709. When I edit a HTML file in any folder under the Documents folder on the C: drive and ONLY on the C: drive, I get "Access to (file name) was denied" when using Dreamweaver or I get "An error occurred while attempting to write the file" using Microsoft Expression Web 4.. If I save this file to the Download folder or any other folder it works perfect. I can then copy or move the file to the Documents folder. BUT, same thing happens if I try to edit it again.
I had this problem before and it seems the only way I fixed it was to reinstall Windows. There has to be a better way ??