• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » How to create an undeletable file

By Abhishek Ghosh December 16, 2010 11:04 am Updated on October 17, 2014

How to create an undeletable file

Advertisement

In Microsoft Windows 7 you can make any file of your choice to become undeletable or non deletable, so that, the user himself or self does not accidentally delete it.

You can add the attribute to the file by right click over it, going to properties and checking the right boxes. However, we are showing you more powerful way: making any file undeletable by using command prompt.

Click start, type “cmd” (without the quotation marks) in the search field; command promp icon will appear on the top of the start menu list, right click over it and select “Run as administrator”. Accept any security prompt:

Advertisement

---

How to create an undeletable file-1

Now, in the command prompt, type

attrib

Followed by any one or combination of these codes; all three can be used together:

+s : This variable makes the “Attribute” of a file into a system file
+h : This variable makes the “Attribute” of a file hidden
+a : This variable makes the “Attribute” of a file archived

followed by the filepath and file name separated by a backslash.

So the whole command looks like:

attrib +s +h +a filepathfilename

Simply hit enter and you are done.

Tagged With make file in a folder undeletable , make a file not deletable w7 , jna make files on windows not deletable , in windows how do you make contents not deletable in a folder , how to set up shortcut as undeletable , how to make a pdf page not deletable , how to make a pdf file not deletable , FILE HIDEN AND NON DELETEABLE MAKER\ , create undeleteable file -folder , windows XP make files undeletable for non administrators
Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to How to create an undeletable file

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • Command Prompt Commands : Alphabetical list of all commands in Windows 7

    Command Prompt Commands in Windows 7 provides the user access to 180+ command line commands. Here is a list of 200 Command Prompt Commands in Windows 7.

  • Windows 7 Right Click Menu Tips,Tricks and Tutorials : Index

    Windows 7 Right Click Menu Tips,Tricks and Tutorials those has been published within The Customize Windows till date is listed here along with description.

  • WordPress & PHP : Different AdSense Units on Mobile Devices

    Here is How To Serve Different AdSense Units on Mobile Devices on WordPress With PHP. WordPress Has Function Which Can Be Used In Free Way.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Comments

  1. Avatarpankaj says

    December 16, 2010 at 11:12 am

    so can we delete the file by simle process or theere is different processs for that

  2. AbhishekAbhishek says

    December 16, 2010 at 5:44 pm

    You can use two methods to delete the file:

    1) Changing the attribute (s) from Windows 7 command prompt again (minus sign instead of plus sign; example: -s instead of +s).

    2) Running a registry file to gain a higher privilege to delete system files, you will get the needed registry file here: http://thecustomizewindows.com/2010/12/solution-for-windows-7-is-not-allowing-access-to-owners-own-file/. Do the same as written for the problem to gain control over that file. You will able to delete it then.

    Hope it helps.

  3. Avatarport8zero says

    March 2, 2012 at 8:59 pm

    Well i can still delete the file after doing this…i removed the +h attribute as i would still like to see the file (but that makes not difference)

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • What is Web MiningDecember 3, 2023
  • Recursion in ProgrammingDecember 3, 2023
  • What is Iteration – MeaningsDecember 2, 2023
  • Implementation of Requirements in Electronic Archiving SystemsDecember 2, 2023
  • What is Database ArchivingDecember 1, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy