Remove Shortcut Virus From USB Flash Drive Using Command Prompt (cmd) Or Batch File Easily
How To Remove Shortcut Virus From USB Without Deleting Files Or Formatting USB (Manually)
You can remove shortcut virus from USB easily by using either command prompt or by creating a batch file.
1. Open Command Prompt (Run as an Administrator) and pate the following code:
attrib -h -s -r -a /s /d G:*.*
Note: Here G is your USB Flash Drive (Pen Drive) Letter.
2. Open notepad and paste the following commands in it:
@echo offattrib -h -s -r -a /s /d G:*.*attrib -h -s -r -a /s /d G:*.*attrib -h -s -r -a /s /d G:*.*@echo complete
Note: Here G is your USB Flash Drive (Pen Drive) Letter.
Now save the notepad as a .bat which is an extension for batch file. Now, open your batch file by double click on it or select the file and press enter key to run it.
Comments