To delete a virus file in a USB Stick using dos command (cmd) follow these steps:
1. Insert your usb
2. Click Start then select RUN. Type cmd then press enter
3. Using the cmd, open your USB by typing its drive letter. Example type x: then press enter. If you are unsure what drive letter is your usb stick, go to MYCOMPUTER and look for the drive letter of Removable Disk under the column TYPE. NOTE: Do not open your usb drive.

Example: If I see a file named 'virus.inf' listed after I typed dir/a:h, then I would type del /f /a:- virus.inf to delete that file.
NOTE: if you see 'autorun.inf' file in your usb drive then delete it, because it is used to execute virus files whenever you insert or double click you usb stick. But remember that not all autorun.inf is use to execute virus file, especially if it is not hidden.
5. Repeat step 4, but this time using 'dir/a:s' instead of 'dir/a:h'.
6. Safely remove your usb then insert it again. After that you can now open your usb using MyComputer and search for a malicious file(s) then delete.
No comments:
Post a Comment