Jump to content

  • Log in with Facebook Log in with Twitter Log In with Steam Log In with Google Sign In
  • Create Account

Tutorial info Visit support topic

  • Added on: Aug 20 2014 05:38 PM
  • Date Updated: Sep 08 2014 03:56 AM
  • Views: 363

Ultimate file control and hiding tips

Small tutorial of handeling your files in Windows.

Posted by oOShockWaveOo on Aug 20 2014 05:38 PM
Hello there !

Many people complain how windows "doesn't trust them", simply by not letting them create or delete a certain file. There a few ways to delete user protected/system protected files, I'm only going to cover the system protected files.

Common way is to either use a software (ex. Unlocker, Ultimate Windows Tweaker ...etc) or the straightforward command takeown and then cacls, but these could get very complicated at times, because let's face it windows desn't handle permissions very well.

The attrib command might not work all the time, but you can delete some stubborn files such as hyberfil.sys file which holds the exact same amount of space as your ram, mine is 4gb so its size is 4gb, its function is to keep a copy of the ram when the computer goes in Hybernate state, you can delete it for extra space, you can google it if you're worried :P, it can be deleted useing the following way:

My way !!

1 - Start CMD; start(windows logo) + R and type cmd and then enter.

2 - Go to the location of the file you want to control, (ex "C:\users\shocky\desktop\"), copy the path and do: cd "C:\users\shocky\desktop\" -> note: you must add "" if the path contains space

3 - Now you meet the command Attrib attrib here can show/change the attribute of a file, there are 3 attributes in Window: Hidden, System, archive and Read only, the important attribute is System any file that holds this attribute

cannot be deleted or seen. Using the command Attrib we can make most of windows files deletable,

4 - Now the syntax:

attrib "name of the file" -s -h -r
attrib "C:\users\shocky\desktop\myfile.txt" -s -h -r
(the order is Important) and voila your file is no longer a system file, if it is permission protected, than it's a different case, the syntax is simple, "-h" means not hidden, and "+h" means hidden, h ->hidden, s -> system .... etc.
->note: you can skip step 2 and use the path of the file instead of the name.

5 - You can also check the files inside a folder by typing attrib only.

*Sum-up pic :

Posted Image

Hiding your files :

1 - Instead of using -s -h -r, we use +s +h +r, this will make your file hidden, read only (cannot be modified), and a system protected file. (we all know what kind of file that is .....just saying not judging :pp)

attrib "C:/Files" +s +h +r

2 - To acces that file, ex. C:\Files\myfile.exe. Now that Files\myfile.txt is a hidden system file, you can access it through the file browser bar:

Posted Image

3 - The reverse procces is obviously -s -h -r :D

Appologies for any mistakes or any lack of jokes :P
Sincerly, Shocky