Remmove files using cmd

Closed
Report
-
Posts
275
Registration date
Wednesday May 13, 2009
Status
Member
Last seen
September 6, 2009
-
Hello,
i found a virus using cmd prompt
but i don't know how to remove that file.
please help me .....

1 reply

Posts
275
Registration date
Wednesday May 13, 2009
Status
Member
Last seen
September 6, 2009
38
Hello there,

You should know your attributes command to do so, If the virus file is hidden you will have to use this:

DEL /P /F /S /Q [/A[[:]attributes]] names
ERASE /P /F /S /Q [/A[[:]attributes]] names

attributes
R Read-only files S System files
H Hidden files A Files ready for archiving
- Prefix meaning not


To delete a file simply type:

del [drive:][path]filename
delete [drive:][path]filename

Thanks