The prank worked because it looked real and arrived long after anyone would suspect Joe. Every PC in the office had Borland’s C compiler installed, a tool for turning code into runnable programs. Joe used it to write a small, harmless program that copied the look of the MS-DOS command that formats, or wipes, a disk.
To sell the illusion, the program wrote throwaway data to a temporary file. That made the drive’s activity light flicker as if the disk really was being erased. After a few minutes of this, it showed a message admitting the whole thing was a joke.
Then came the timing. Joe added his program to AUTOEXEC.BAT, a startup file that DOS computers read every time they boot and use to run commands automatically. He set it to quit silently on every start until a month after his departure.
About five or six weeks later, a former coworker phoned him. TF had switched on his PC that morning and had been badly shaken by what he saw. Joe, long gone by then, declared it a case of mission accomplished.