How to hide files on C drive?

Closed
lawaiman Posts 1 Registration date Monday January 1, 2018 Status Member Last seen January 1, 2018 - Updated on Jan 2, 2018 at 12:18 AM
VirtualSurfer88 Posts 3 Registration date Friday April 13, 2018 Status Member Last seen April 18, 2018 - Apr 13, 2018 at 06:41 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
Related:

2 responses

Blocked Profile
Jan 9, 2018 at 10:05 AM
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.
0
VirtualSurfer88 Posts 3 Registration date Friday April 13, 2018 Status Member Last seen April 18, 2018
Apr 13, 2018 at 06:41 AM
Hey,

I do agree with @kieferschild that you should first try to restore your folders view to default via Control Panel. I would only add that if you want to hide files on your system or any drive, you can simply use your File Explorer and right-click on the folder or file you want to hide and change its attribute to Hidden in the pop-up window. If you do not want to see or display the hidden folders/files, you can change the View settings of your File Explorer by deselecting the "Hidden items" checkbox on the View tab.

Good luck!
0