To fool the average user you can make a VBScript with the following code and put it in your windows directory:
VB Code:
  1. MsgBox "Access Denied", vbCritical, "Windows XP"

Then goto the registry and change the value in the following location:
HKEY_CLASSES_ROOT\txtfile\shell\open\command

To:
wscript.exe %windir%\txt.vbs

This will discourage the average user but its very easy to get around.

P.s: Backup the rgistry before making changes and if you don't know that the regitry is, ignore everything I've just said.