This Code made by MyCFiles admin Gaurav Tiwari, he named it "The_End Virus" coz running this code will totally screw your windows..

Description
Do you know how your computer remembers that he needs to open the file with the .txt extension with notepad not with WordPad? Answer is simple. Through the registry editor. Registry Editor maintains a database telling Windows OS that file with the .mp extension is configured to be open with the Media Player. When you install a new player, be it VLC media player or the Winamp, the installation program just modifies that part of the registry and configure it to open with the new Installed program. I guess that being a computer user you are sane enough to think that program and file format must be compatible with each other for proper functioning. Didn’t get it? Have you tried to open a exe with a Notepad file. If yes, you know what the hell happens. Notepad gets stuck and combines all its courage and after sometimes presents you all the weird stuff that you can’t understand and if you had not tried it, try it. Just make sure that you do not hit always use the same program to open this kind of files. It turns out that .exe file and the notepad are not compatible with each other.Caution:The program is capable of producing extreme damage to your machine. I am publishing it for the educational purposes. If you want to run it, make a Virtual XP Machine and try it. To get screwed on Windows XP, just run the program and to get screwed on the Windows 7, make a mistake to run the program as an Administrator. If not handled properly, you might screw yourself and your computer.

Logic:
Logic of the program is simple. First, I require knowing all the extensions known to the computer. Command Prompt has a command in it “assoc”. Without any parameters it would show you all the extensions known to your computer and their respective associations. Now, I piped out the output of the assoc command through the command
Assoc > 6_September.txt
Now, I will show the example how the file stores what I need.
.reg=regfile
Here, it’s the entry for the .reg file. I only need to extract following content from this line which is
.reg =
And I need to convert it to
Assoc .reg=txtfile
And that what the join() fuction does in the program. After I get the string, I only need to execute the above statement with System() function defind in DOS.H
Here is a note, the system() function does not works with TC++. And I have a theory for this. TC++ is a 16 bit application. So the exe it generates is also 16 bit in nature. Whereas the command prompt and Registry editor are 32 Bit Programs. These instructions do not work in the way they are expected in here. So, you will need something other than the TC++ to do the job. My option is again Codeblock IDE that provides you 32 bit GCC Compiler to do all the nasty and Creative job you need to do.

All files before running code

After code runes

Exe file would be opened in this way

Hope you liked the post, we are coming with more virus codes.. stay tuned to MyCFiles.com
Comment bellow for Query and Feedback.