Comment What OS? And how annoying? (Score 3, Informative) 366
What OS are you running? You could create a simple bat script that pops up an annoying message every 20 or 30 minutes to show your students an "infected' machine.
Real Programs don't use shared text. Otherwise, how can they use functions for scratch space after they are finished calling them?