I honestly don't know, but it fixed the problem for other people.
Maybe a malicious program hiding in notepad, would be a good strategy for a virus maker, cause no one would suspect notepad of being the problem.
Do you know how malware works?
and do you know any reason to delete notepad.exe? why not calc.exe? if you are just repeating what you read somewhere and don't understand the reason for doing so. don't give them out as advise.
bad advise is worst than no advise at all.
and also a warning. read the forum rule. don't insult other on the forum