Save it as a .bat file.
Voila!
No really. If you run this on windows/DOS in a directory full of .bat files, this will replicate itself and infect all the other .bat files. Too easy? Use “copy con blah.bat” to create the file so you can feel a bit more accomplished.