With access to the FileSystemObject or automation access to an OCX you could do either of those things. The power of HTAs is you could use anything provided by a Microsoft technology, script Office, access WMI, etc.
I wrote a DVD backup solution using HTAs and FSO.