- First you will need to start CMD by typing cmd in your search bar or if u want to do it the quicker way press Windows key+r and type cmd and hit enter
- Now type dir c: where 'c' can be any drive on your computer
- After this type s - h *. * /s /d after the code your whole code should look like this dir c: s - h *. * /s /d
- Now a whole lot of scanning will take place.Don't get frightened if the process takes some time.It will stop after some time.
- Now look for infected files you see anything suspicious for example: Autorun.inf or a .exe file
- If you see the .exe and the autorun.inf then you have just found a infected file.
- Now copy the Adress of the infected file and paste it your normal address bar and you will get your virus file and you can delete it
- Or else if this method looks a bit complicated just wait for 2 days I'll be creating a free cmd program that automatically deletes your viruses but this method works well
In this way you have successfully deleted virus from your computer using command prompt.
