Merge pull request #696 from MartinNowak/windowsAPI

add SetFileAttributes