Add Windows File Attributes

Here is the code for getting and setting Windows file attributes.  Let me know if you need me to change anything in it...