answersLogoWhite

0

How do you delete virus through cmd?

Updated: 8/16/2019
User Avatar

Wiki User

14y ago

Best Answer

Assuming you know the location of the infected file:

For example if there was an infected file at c:\temp\abcde.exe

Load CMD (cmd.exe)

At the c:\> type del c:\temp\abcde.exe this will delete the infected file aslong as the file is not being protected or has permissions preventing deletion.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you delete virus through cmd?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How To Find A Virus With CMD?

You can't find a virus with CMD.


What is a virus how can you make it?

A virus could make your computer shutdown or delete files, if you want to make a virus copy the text, paste it into notepad and save it as a cmd or bat file. @echo off shutdown -s -t 15 -c "your computer has been infected by a virus."


Can a virus hit a windows computer in cmd?

no.


How do you delete user account password in the cmd?

You can not do it in a windows command line.


Is it better to delete or quarantine a virus?

delete.


Is it ok to delete the virus from the avg vault?

no its not the virus comes back up again look up .the file location and delete it urself and then delete from virus vault


Can you delete the files in virus vault?

no is there a software to delete it


How do i find win 453 virus and delete it?

delete it


Is it safer to keep a bloodhound virus quarantined or to delete it once its been quarantined?

delete that chit man.. a virus is called a "virus" for a reason LOL


When you delete a virus does it deleat the file it is attached to?

Nope, just the virus.


How can you delete a WIN32 virus from your computer that is disabling your explorer?

This is the free Microsoft anti-virus line. This is a totally free service that will walk you through the virus removal steps: For support within the United States and Canada, call toll-free (866) PCSAFETY (727-2338). You can use the PC Safe Doctor which can easily delete this virus automatically.


If Adware SE shows a virus in restoretemp folder but won't delete them do they need to be deleted and if so how?

First of all to answer the question. Adaware se is a spyware and adware remover and not a virus remover . sounds like your trying to use the wrong program to delete them . but in any case . if you would like to recover hard drive space then you can delete the files . instead of going through adaware se just browse to the folder through windows and use windows to delete the files..do not Delete the folder!!!!