Remmove files using cmd

Closed
faisal - Jul 3, 2009 at 11:34 PM
afsgun Posts 275 Registration date Wednesday May 13, 2009 Status Member Last seen September 6, 2009 - Jul 4, 2009 at 09:21 AM
Hello,
i found a virus using cmd prompt
but i don't know how to remove that file.
please help me .....
Related:

1 response

afsgun Posts 275 Registration date Wednesday May 13, 2009 Status Member Last seen September 6, 2009 38
Jul 4, 2009 at 09:21 AM
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
0