web analytics
Home / How-to Guides / How to Hide Files & Folder as System Files to Protect Folder in Windows XP

How to Hide Files & Folder as System Files to Protect Folder in Windows XP

When we hide any files in Windows XP, we usually go to folder properties and change the attribute to be hidden. However, these files are shown when “show hidden files and folder” are activated.
Basically, This trick will hide your folder and also won’t be shown even in “show hidden files and folder”. This trick will apply files or folder with system attribute, where the system will consider these files as system files and system files are never shown even if hidden files and folder are activated.

You might now be wondering that, how could I get access or view those files since the system is considering those files as system files and cannot be viewed even show hidden files are active? Don’t Worry, it is very simple to view those files, just as we view hidden files.

View System hidden Files and Folder:

1. Go to My computer >> Tools >> Folder Options.

2. Navigate to View Tab and Scroll down and remove check marks from “Hide Protected Operating System Files“. Now you can view system files and files which you hided using this trick.

View System hidden Files and Folder

Note: Since, you enabled the option to view hidden system files, this allows to view hidden system files, so don’t try to delete any files, which are system files.

How to Hide Files & Folder as System Files

1. Make a Folder in C drive rename it as “abc” without quotes or any name.

2. Now, Open Command Prompt, Go to Start >> Run >> Enter “CMD“.

3. Type the below command and press enter.

attrib +s +h +r C:\abc

This command will make your folder invisible, and it cannot be seen even if hidden files and folders activated. To view these hidden system files, you need to disable “Hide Protected Operating System Files” as explained above.

4. To make it visible again type below command.

attrib -s -h -r C:\abc

Here, we appended a – (minus sign) to specify to remove the attribute for the specific folder. You can hide or protect any files or folders using this attrib command. Just give the path address of that folder and Specify the attribute.

Hide Files & Folder as System Files

Here, Attrib is a command that set archive attribute.
S – This specify system attribute.
R – This specify read-only attribute.
H – This specify hidden attribute.
+” – This adds the attribute to archive files or folders.
“-“ – This removes the attribute from archive files or folders.
C:\abc – Specify the path of the file or folder

Subscribe Techie Inspire for Tips, Tricks, Guides and Much more…

About Kroshan

Roshan Karkera a.k.a. k.roshan. Blogger by passion and software engineer by profession. He believes in sharing knowledge, which made him to start his own blog. He is very much keen & passionate about new technology & Science. If you'd like to connect with him, follow at Google plus or Twitter.
  • Anonymous

    but the file made invisible as you suggested can be seen in hidden perationg system files, sorry

  • Dj roshan

    U r right. it will be seen only by activating showing system operating hidden file.
    bcoz this command make your folder as system file+system hidden+ read only property.
    use +s +h +r.
    so this will remain hidden. it will be not shown if “show hidden file and folder “is activated only if system hidden is not activated.

    • I wanted to spend a miutne to thank you for this.

  • Livia

    I tried this and worked.Now i use this trick to hide my files.I mostly use this in college to protect my files.

  • You’re the gerteast! JMHO

  • It¡¦s really a cool and helpful piece of information. I¡¦m glad that you simply shared this useful information with us. Please stay us informed like this. Thanks for sharing.