Wednesday, September 28, 2011

Hide a file in Windows

There various ways to make a file hidden in windows but the example below will make it really hidden, it's like magic.

open CMD

To select file:
C:\Users\Fel\Dektop>attrib [filename] +h +s

The file will disappear. You cannot find it in the GUI or the CMD when dir command is used. It also will not show if you have the "show hidden files" selected in the folder options. (make sure you hide it first to make it work)

Now for the prestige (bring it back)

C:\Users\Fel\Dektop>attrib [filename] -h -s

No comments:

Post a Comment