>>>There's a sample implementation of the Win32 API SetFileAttributes() call already on UT in the FAQ as entry #241
Set and get file attributes>>
>>Ed!
>>
>>You didn't mention that WSH can do this as well! I'm shocked.< g >
>
>
I'm so ashamed!!!>
>You're absolutely right, Scripting.FileSystemObject handles this nice and neat, no mess, and lots more.
>
>(Besides, I've gotta give the new WSH converts a chance to show it off. People are getting tired of me muttering about the wonders of the WSH!!!)
When they know what it can do, plus the amount of code overhead they'll save, they'll thank you and sing your praises< g >.
George
Ubi caritas et amor, deus ibi est