Just another Notepad trick to play with your friend’s system would be to
set off a command which would open his/her notepad repetitively.
@ECHO off
:top
START %SystemRoot%\system32\notepad.exe
GOTO top
Save it as a
.vbs file and open it to see what happens.