Attrib [path/filename] works great too!
Great code JoshT!