Wednesday, 8 April 2026

ATTRIB -S -H /S /D . Windows Command – Complete Guide for Beginners

 What is ATTRIB -S -H /S /D . Windows Command

Windows system has so many Command Prompt utilities that help manage files and folders.
One powerful command is:

attrib -s -h /s /d *.*

This command is mainly used to remove hidden and system attributes from files and folders so they become visible and accessible again.

Especially it is useful when:

·         Files are hidden by virus or malware

·         USB drive data is not visible

·         System attributes prevent file access

 

What is the Benefit of ATTRIB Command?

attrib is a built-in Windows command help:

·         Show or hide files

·         Add or remove system, hidden, read-only, and archive attributes

·         Apply changes to multiple folders and subfolders

·         Recover Fix Missing Folder Problem

·         Remove Malware-Hidden Attributes


Meaning of ATTRIB -S -H /S /D .

               I.        -S

Removes the System attribute from files.

             II.        -H

Removes the Hidden attribute, making files visible.

            III.        /S

Applies the command to all subfolders.

           IV.        /D

Includes folders/directories in the operation.

            V.        *.*

 

Targets all files and file types in the current location.

All together, the command means:
“Make all hidden and system files visible in this folder and its subfolders.”


How to Use ATTRIB -S -H /S /D . in Windows

Step 1: Open Command Prompt

·         Press Windows + R

·         Type cmd

·         Press Enter

Step 2: Go to the Drive or Folder

Example for USB drive is showing E:

Then type E: and press Enter.


Step 3: Run the Command

Type Command    attrib -s -h /s /d *.* and press Enter

Wait a few seconds.
All hidden files should now appear normally.


No comments:

Contact Form, Thanks for visiting my site

Name

Email *

Message *

Labels