Symptoms:
U disk in the poisoned computer after use, the folder inside disappeared, this is because the folder properties inside is changed to hide properties. The hidden properties of all hidden folders are locked and cannot be changed by right-clicking the folder's properties by viewing the display hidden folder.
Reason:
This is because the hidden properties are locked by default after the folder is added to the system properties.
Solution:
After you make sure the virus has been killed, you can restore the folder properties in the following ways
Method One: Manually using the attrib command to modify
1. Start Menu--select "Run"--enter "CMD"
2, in the DOS State Input command: attrib C: "Windows"-s-h (in the case of Windows folder under C disk, here's C: "Windows" Change the path you want to modify the folder)
3. Run this command to remove the hidden attributes of the folder.
But we may find that all the folders are hidden, such a change, the trouble is big.
The above method is appropriate to modify a single folder, the bulk of the simple modification method is the use of wildcard * Matching folder, the format is as follows:
1. Suppose all the root folders under C disk are hidden.
attrib c: "*"-s-h/s/d
You can remove the hidden attributes of the folder under C disk.
2. Suppose D disk assumes that all the root folders under C disk are hidden.
attrib d: "*"-s-h/s/d
Others and so on
Method Two: Use a simple batch processing method
Create a new text document file, and then copy the code in, select Save As, and the filename is set to the ". bat" suffix format (that is, change the. txt suffix to. bat). Then drag the folder you want to modify onto the file, and follow the instructions.
If you are a U disk root directory is infected, directly to the U disk letter dragged up, all the way to choose 2 and enter.
@echo off&setlocal enableextensions enabledelayedexpansion
title resolves a problem batch that cannot be modified by a folder's hidden properties
If "%~1" = "" (Echo you did not drag into any disk or file or folder!)
echo------
echo, drag the disk or file or folder you want to work on to the batch file icon
echo instead of double-clicking the start batch!&pause&goto:eof)
Call:choose "Set hidden file properties, select:" Do not change remove settings
(Set h=) & (if!c! equ 2 set h=-) & (if!c! equ 3 set h=+)
Call:choose "Set System file properties, select:" Do not change remove settings
(Set s=) & (if!c! equ 2 set s=-) & (if!c! equ 3 set s=+)
Call:choose "Set Application scope, select:" File or folder itself properties and first level directory Content Properties folder first level directory content properties
For%%i in (%*) does (if!c! equ 1 call:attrib "%%~i"
for/f "delims="%%j in (' dir/a/b '%%~i ') do Call:attrib "%%~i%%~j")
Pause&goto:eof
: Choose
(Set c=) & (set n=) &for%%i in (%*) do echo!n! %%~i&set/a n+=1
(set/p c=) & (set/a c=c) &if!c! Geq 0 if!c! Leq!n! Echo.&goto:eof
Goto Choose
: attrib
setlocal& (Set a=) & (set A=%~A1) &if "!a!" = = "" Goto:eof
If not defined H if "!a:~3,1!" = = "H" (set h=+) Else (set h=-)
If not defined S if "!a:~4,1!" = = "S" (set s=+) Else (set s=-)
echo is processing:%~1&attrib!h!h!s!s "%~1" &goto:eof
Echo Modified successfully!