Use CMD to create an 'undeleted' folder on Windows

Have you ever thought that you could 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.

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 1Use 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 2Use 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 3Use 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 4Use 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 5Use 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 6Use 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 7Use 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