Use CMD to create an 'undeleted' folder on Windows

Have you ever thought that you can create an "inviolable" folder, no one can delete that folder or not? Don't think not because of this you can completely do it. Just use CMD without the support of any 3rd party software or applications.

1. Create a folder that cannot be deleted and cannot be renamed

Step 1:

Use CMD to create an 'undeleted' folder on Windows Picture 1

First launch Command Prompt. To do this, enter cmd in the Search box on the Start Menu, then click the Command Prompt icon from the results list.

Step 2:

Use CMD to create an 'undeleted' folder on Windows Picture 2

You cannot create this folder on drive C, the reason is because drive C is the installation drive. To create this non-delete folder on drive D, simply enter D: (or any other, not C drive) into Command Prompt, then press Enter.

Step 3:

Use CMD to create an 'undeleted' folder on Windows Picture 3

Next enter md con into Command Prompt and press Enter. The child is a unique name and cannot be created or deleted because this name does not use Command Prompt.

Step 4:

Use CMD to create an 'undeleted' folder on Windows Picture 4

The next step is to check the folder you just created. Access the drive you just selected to create the folder. You should now see a folder named child. Your task is to click on that folder and select Delete .

Step 5:

Use CMD to create an 'undeleted' folder on Windows Picture 5

Now a new dialog box appears asking if you want to delete the folder, click Yes.

Step 6:

Use CMD to create an 'undeleted' folder on Windows Picture 6

A new popup window appears and informs you that you cannot delete this folder. No matter how many times you click Try Again , it is impossible to delete the Sub folder.

2. How to delete folders that cannot be deleted and cannot rename?

Use CMD to create an 'undeleted' folder on Windows Picture 7

To delete a folder that cannot be deleted and cannot change the name you created, follow the steps below:

1. First open the Command Prompt.

2. Next enter D: into the Command Prompt window (if you create a folder in drive D :) and press Enter.

3. You can now delete the files in the "child" folder that you created to delete the folder. To do this, enter the following command into the Command Prompt window:

rd child

4. The Sub-folder will then be deleted.

Refer to some of the following articles:

  1. All Frequency Restart, Shutdown, Remote Off . with Command Prompt
  1. Use the CMD command to remove viruses on Windows computers
  1. No need to use an antivirus program, this is how to get rid of the virus on your computer

Good luck!

4.5 ★ | 4 Vote

May be interested

  • How to create an application folder on AndroidHow to create an application folder on Android
    creating an app folder on android helps you group apps with the same theme together for easy access when needed. we can create many different application folders on android unlimitedly.
  • What is the Windows.old folder and how do you delete it?What is the Windows.old folder and how do you delete it?
    when upgrading to the new version from the old windows, you will have the windows.old folder on your computer, and it takes up a large amount of space. you can delete this folder but the way to delete will be different from the normal folder.
  • How to Create a Bootable Windows XP ISO from a FolderHow to Create a Bootable Windows XP ISO from a Folder
    if your computer came installed with windows xp, but didn't come with a disc, you may be wondering how to go about reinstalling in case something happens. luckily, you can create a windows xp installation disc with the files on your hard...
  • How to create a folder in Outlook 2013 by creating a ruleHow to create a folder in Outlook 2013 by creating a rule
    by default, outlook receives all incoming email and transfers it to the inbox folder. some people find it difficult to find messages in inbox and want to set up to automatically transfer certain emails to another folder to make it easier to find. this article will show you how to create a rule in outlook 2013 to automatically send email to a specific folder.
  • How to create a folder in Outlook 2016 using the ruleHow to create a folder in Outlook 2016 using the rule
    do you often receive emails in outlook from a specific colleague or customer and want to automatically transfer those emails to a different inbox folder for easy search? read this article to learn how to create an email transfer folder in outlook 2016 using the rule.
  • How to Create a Folder on a MacHow to Create a Folder on a Mac
    you can create folders on your mac using the finder and apple's built-in file manager.
  • How to create a folder or file that cannot be deleted in Windows 10How to create a folder or file that cannot be deleted in Windows 10
    explorer's standard delete option won't work for your protected folders or files.
  • How to Create a Folder on a PCHow to Create a Folder on a PC
    when it comes to computers, the folder is the backbone of organization. folders help you separate, label, and move files with ease. before you can utilize this basic function of a computer, though, you have to know how to create one. open...
  • What does the red 'X' on Windows folders mean?What does the red 'X' on Windows folders mean?
    do you see a red circle with a white cross to the left of your windows files, folders, or drives? if so, it means onedrive isn't syncing and the folders affected by this issue aren't syncing properly.
  • How to change the download folder Windows Update in Windows 10How to change the download folder Windows Update in Windows 10
    by default, the windows 10 update is downloaded to the softwaredistribution folder on drive c and hidden in windows 10. moving the folder will not be as simple as usual and need to be logged on as an administrator. the new folder used in this tutorial is newupdatefolder located in drive d. you can change the name and location to anywhere you like.