How to hide files on C drive?

lawaiman 1 Posts Monday January 1, 2018Registration date January 1, 2018 Last seen - Jan 1, 2018 at 01:54 PM - Latest reply: kieferschild 2384 Posts Sunday October 5, 2008Registration dateModeratorStatus January 23, 2018 Last seen
- Jan 9, 2018 at 10:05 AM
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
See more 

1 reply

Reply to this topic
kieferschild 2384 Posts Sunday October 5, 2008Registration dateModeratorStatus January 23, 2018 Last seen - Jan 9, 2018 at 10:05 AM
0
Helpful
Hi,

Firstly - Why are you messing arround with attributes?

Secondly - Why did you apply the attributes to everything in C?

Your command basically says..

for all files and folders in C: remove the attribute System File, Read Only and Hidden.

Different files and folders have different attributes set so you're stuff in terms of getting them back to "default". What you have run, you've basically done a "show all".

I would first try going to Control Panel > Folder Options/File Explorer Options > View > Restore Defaults

If you swap the - for a + in your command you will do the reverse operation.

Example

attrib +H C:\test would add the hidden attribute to the folder and it would become hidden.
Respond to kieferschild