You really need to explain why you want to do this. There may be a totally different way of achieving the end result.
It seems very strange that a business application would need to prevent the user from opening Notepad. Perhaps the answer is to forget about it and work on actual business functionality.