Due to a malware, when you plug in a USB drive, it automatically hides all files and folders and only shortcuts are shown when explored. Removing this virus from Command prompt is very easy. Just follow those steps.
Step 1 » Open Command prompt in Administrator mode. (Type cmd in search bar and press “Control+Alt+Enter”)
Step 2 » Change the directory to
the drive letter of USB drive. For this, first check the drive letter
of your USB drive in Windows explorer, if the USB drive is in „F‟-
Drive, just type f followed by colon and Enter. (f:) Now command prompt
will show F:\> .
Step 3 » Type “attrib -r -h -s
/s /d” then press Enter. This command changes the attribute of all files
and folders in that Drive. Parameters -r, -h, -s removes read only,
hidden, system file attributes and /d, /s used for applying it to all
directories and sub-directories. Means this command will make all the
files visible.
Step 4 » Now type “del *.lnk”
then press enter. This command deletes all the files having .lnk
extension. These files are shortcut files.
Now you can exit command prompt and check the USB drive files. They all will be visible.
0 comments:
Post a Comment