Before we start this are the following Additional Information:
attrib - Displays or changes file attributes.
ATTRIB [+R | -R] [+A | -A ] [+S | -S] [+H | -H] [+I | -I]
[drive:][path][filename] [/S [/D] [/L]]
+ Sets an attribute.
- Clears an attribute.
R - Read-only file attribute.
A - Archive file attribute.
S - System file attribute.
H - Hidden file attribute.
I - Not content indexed file attribute.
Specifies a file or files for attrib to process.
/S - Processes matching files in the current folder and all subfolders.
/D - Processes folders as well.
/L - Work on the attributes of the Symbolic Link versus the target of the Symbolic Link
Usually when virus hide files, it also remove folder options, so we are using cmd to open the hidden folders.
1. Go to Start > Run > type cmd
2. Dos will open type cd\
3. Now type Attrib -h -r -s /s /d A:\*.* (Note: A is the drive you want to remove folder hidden attribute, you may change A).
4. Now close cmd by exit command.
attrib - Displays or changes file attributes.
ATTRIB [+R | -R] [+A | -A ] [+S | -S] [+H | -H] [+I | -I]
[drive:][path][filename] [/S [/D] [/L]]
+ Sets an attribute.
- Clears an attribute.
R - Read-only file attribute.
A - Archive file attribute.
S - System file attribute.
H - Hidden file attribute.
I - Not content indexed file attribute.
Specifies a file or files for attrib to process.
/S - Processes matching files in the current folder and all subfolders.
/D - Processes folders as well.
/L - Work on the attributes of the Symbolic Link versus the target of the Symbolic Link
Usually when virus hide files, it also remove folder options, so we are using cmd to open the hidden folders.
1. Go to Start > Run > type cmd
2. Dos will open type cd\
3. Now type Attrib -h -r -s /s /d A:\*.* (Note: A is the drive you want to remove folder hidden attribute, you may change A).
4. Now close cmd by exit command.