• 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

This Article Has Been Shared 191 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Orthopaedic 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

  • Restore Cut,Copy,Paste,delete button on Windows 7 toolbar like Windows XP without using any software

    By default, Cut,Copy,Paste buttons are not visible in Windows 7. If you want to get the buttons back like Windows XP, just follow this tutorial. No extra software is required.

  • Selectively remove the icons in the navigation Pane in Windows 7

    You can selectively remove unnecessary icon links from the left pane of Windows 7 Explorer using this trick.

  • Schedule Windows 7 shutdown in very easy way

    Planned shutdown in Windows can have many advantages, for example, if you are in a hurry and have to leave home but there is something on the computer that is running and can not be shut down at that moment; it will be nice if we can schedule when the computer will turn off.

  • Cascading list of programs in right click context menu in Windows 7

    After reading this tutorial, you will be able to add a right click custom named menu and cascading list of submenu of third party or default programs with icons of your choice in Windows 7.

  • Eject CD DVD from right click context menu in Windows 7

    Eject CD DVD CD DVD or blue ray disk from right click context menu or just by a shortcut in Windows 7. No software installation is required.

Additionally, 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

You can subscribe to our Free Once a Day, Regular Newsletter by clicking the subscribe button below.

Click To Subscribe

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 (20K Followers)
  • Twitter (4.9k Followers)
  • Facebook (5.8k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.2k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Arduino : Independently Blink Multiple LED January 18, 2021
  • What is a Loosely Coupled System? January 17, 2021
  • How To Repack Installed Software on Debian/Ubuntu January 16, 2021
  • Components of Agile Software Development January 15, 2021
  • What is Conway’s Law? January 14, 2021

 

About This Article

Cite this article as: Abhishek Ghosh, "How to create an undeletable file," in The Customize Windows, December 16, 2010, January 19, 2021, https://thecustomizewindows.com/2010/12/how-to-create-an-undeletable-file/.

Source:The Customize Windows, JiMA.in

 

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Cookie Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

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

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