If you want to create a folder or folders that cannot be deleted and cannot be renamed without using any Software or script , then you will be glad to know that, it is possible to create Undeletable & Unrenamable folder in windows operating system. By using this trick, you will be able to create folders in Windows which cannot be deleted or renamed.
Basic concept behind this trick is that, Windows have some reserved words for folder names, some of them are con, aux, lpt1, lpt2, lpt3, lpt4, lpt5, lpt6, lpt7, lpt8 and lpt9, if you try to make a new folder in windows with these mentioned names then you will not be able to create a folder and will get a error message "The Specific Device name is Invalid". It's because these are reserved words in windows.
So, you cannot directly create or make folders with these names. But there is a way to create folders with these names by using Command Prompt and Folders will be undeletable and unrenamable.
Create Undeletable And Unrenamable Folders
Follow the steps given below to create folder which cannot be deleted or renamed:
1. Open Command Prompt. (Press 'Windows Key + R' and type 'cmd' into the Run field, then press 'Enter' to start the 'Command Prompt' or you can click on 'Start' and search 'cmd' and open cmd/command prompt from search result)
2. After opening the Command Prompt window, type the name of the drive where you want to create your folder e.g. If you want to create the folder in E drive, type E: and press Enter. (Note: You cannot create Undeletable & unrenamable folder in your root directory, that means if your Windows is installed in C: drive, then you cannot make this folder in C: drive)
3. Now type this command md con\ and press Enter (you use other words such as aux, lpt1, lpt2, lpt3, lpt4, lpt5, lpt6, lpt7, lpt8 or lpt9 instead of con) (md = make directory)
4. If you want to create the undeletable folder inside a Folder then use this command md FolderName\con\ (change the FolderName with the name of your desired folder in which you want to create it).
5. You can also use the command md D:\FolderName\con if you want to create Folder without opening the desired drive in cmd i.e. giving command directly to the root directory (replace the D with your drive name and FolderName with the name of your desired folder in which you want to create the undeletable folder).
6. Now after creating the Folder, browse to the location where you created the Folder and you will see a Folder with name con, which will be undeletable and unrenamable folder. If you try to delete or rename that Folder then you will get a message 'Item not Found'
7. You can add items or materials into the folder. The Folder cannot be deleted or renamed.
➦ Now you must be wondering how to delete these undeleteable folders because it is not possible to delete it manually. But you can delete these Folders with Command Prompt. Follow the below steps to do so:
Deleting Undeletable/Unrenamable folder
1. Open Command Prompt.
2. Type the name of the drive (where you created the folder e.g. D:) in the command prompt and press Enter.
3. If you have added things or materials in the Undeletable folder, then empty it before deleting or you will get error message 'The directory is not empty' in the command prompt while deleting it.
4. Now type the command rd con\ and press Enter, if you have created the undeletable folder inside a folder then use this command rd FolderName\con\ and press Enter (replace FolderName with name of your Folder in which you created it) (rd = remove directory).
5. Now open that drive, and you will not find the folder because it is removed.
4 Comments
Definitely сonsider that which you stated.
ReplyDeleteYour favorite justification seemed to be at the net tһe simⲣlest thing to take
note of. I say to yоu, I definitely ցet irked while people consider worries that tһey plainlʏ do not reaⅼize about.
You managed to hit the nail upon the top as smartly as outⅼined out
the whole thing without having side-effects , otһer folks can tɑke a signal.
Will likely ƅe again to get more. Thanks
pop over to tһese guyѕ : How To Password Protect Folder The
Planet Using Just Your Blog
Hmm it seems like your site ate my first comment (it was
ReplyDeleteextremely long) so I guess I'll just sum it up what I wrote and say,
I'm thoroughly enjoying your blog. I as well am an aspiring blog blogger but I'm
still new to everything. Do you have any recommendations for inexperienced blog writers?
I'd really appreciate it.
If some one needs expert view about blogging afterward i suggest him/her to visit this blog, Keep up the
ReplyDeletenice job.
I am curious to find out what blog platform you have been utilizing?
ReplyDeleteI'm having some small security issues with my latest website and I'd
like to find something more safeguarded. Do you have any solutions?