Thursday, August 8, 2013

Removing .lnk virus from pen drive



Removing shortcut .lnk virus from Pen drive / External drive
Problem:

Sometimes after connecting your pen drive or external drive into computer, you can see the files with .lnk extension. It means your pen drive / external drive has been infected with the shortcut virus. You need to remove this virus permanently or else it will affect your computer.

Solution:

1. Close all the files / folders you opened in the machine.

2. Connect your pen drive / external drive.

3. Scan the pen drive / external drive with the antivirus if you have. (Mostly the virus will be removed in this step itself. However, sometimes it may not help. In that case, please follow the remaining steps)

4. Open the command prompt

5. Go to the pen drive / external drive folder.

6. Type the command attrib –s –h /s /d and hit enter

Now, you can see all the original files / folders without .lnk extension as well as with .lnk extension. You can just select the files / folders with .lnk extension and remove it from the pen drive or external drive.


Now your problem is solved.


Linux Series - SED Utility/Package - 4. Deleting Lines

Let’s explore sed’s explicit delete command, which you specify by using the option 'd'. Again, we are using the sample file named &#...