Hide file extension

aiman_messi97

Prominent
Jan 1, 2018
2
0
510
guys i want to ask , i have use command attrib -s -r -h /s /d C:\*.* and it show all file . how can i undo it . pls help me im not good in computer hmmmm
 
Solution
i have use command attrib -s -r -h /s /d C:\*.*
The switches you have used do the following:
-s: Clears the system file attribute
-r: Clears the read-only file attribute
-h: Clears the hidden file attribute

/s: Does the above to all files in the current directory and all its subdirectories
/d: Does the above not only to files but to directories (folders) aswell

C:\*.* sets the current directory for the command to the root directory of the C: drive, and specifies the command to change attributes to all files and all file extensions, on all of the drive.

What you have done can't be reversed easily. You can however manually with the attrib command set the attributes to what they originally were, one file at a time, if you know...


no what i meant how to undow that commend . it show all extension ntuser and other . i have go to view and hide and restore defauelt . but the folder still exist
 
i have use command attrib -s -r -h /s /d C:\*.*
The switches you have used do the following:
-s: Clears the system file attribute
-r: Clears the read-only file attribute
-h: Clears the hidden file attribute

/s: Does the above to all files in the current directory and all its subdirectories
/d: Does the above not only to files but to directories (folders) aswell

C:\*.* sets the current directory for the command to the root directory of the C: drive, and specifies the command to change attributes to all files and all file extensions, on all of the drive.

What you have done can't be reversed easily. You can however manually with the attrib command set the attributes to what they originally were, one file at a time, if you know what attributes they originally had.

My C: drive is only 128GB and has right now 15 590 files and 42171 folder with any of the above attributes. Yours may have more.

You can also make a full reinstall of your OS.

I recommend that you in the future don't run commands that you don't fully know what they do.

Nigel
 
Solution