ok, so here's a question... you know nothing about pascal, and you need to erase those files because they are infected. What's wrong with erasing them from the dos prompt, or from windows explorer? Why do you need to write a pascal program to clean up your "virus"/trojan? You can just as well use the "find files or folders" from windows start menu, and erase them from the resulting window. It would probably be faster that way.
I'm sorry to say, but I don't think anyone will give you a Pascal course on here, and/or write it for you when there are other options already available...
Just my 2 cents..
Cheers,
Realm174