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 block the black Web fastest and effectively?Photo of How to block the black Web fastest and effectively?
    black webs contain unique information, or unhealthy websites, and we need to manipulate those sites. so are there any ways to block black sites?
  • What is the FOUND,000 folder and the file FILE0000.CHK on Windows?Photo of What is the FOUND,000 folder and the file FILE0000.CHK on Windows?
    on some partitions you may see a folder called found,000 and a file in that directory with the extension .chk. so what is the found.000 folder and the file file0000.chk? why is this file and folder on windows? please refer to the following article of network administrator.
  • Journey of encryption technologyPhoto of Journey of encryption technology
    encryption is a technique to secure data, only those who have the key to read the content. many complex coding techniques have been developed and applied in many areas.
  • Remove the USB drive when the computer is in sleep mode (Sleep) is it safe?Photo of Remove the USB drive when the computer is in sleep mode (Sleep) is it safe?
    often we will receive a warning when removing the usb drive from the computer in case the usb drive is being read or written on the system. in case when the computer hangs, or is in hibernate mode, or in sleep mode (sleep mode), it is clear that the usb drive does not have to write any data. it is possible that the usb drive is in the middle of a 'crossroads' between read and write operations.
  • Remote computer security with Sophos HomePhoto of Remote computer security with Sophos Home
    there are many different security software like kaspersky, avg but most of them will only let you try it for a certain time. after that, you will have to pay if you want to use it again. but if you simply need a security solution for your personal computer at home, we recommend you the sophos home utility. with the ability to protect the system against malicious software, nasty viruses, fraudulent websites but completely free. this is very useful software for you. please refer to the article
  • Instructions allow applications to communicate with each other via Windows FirewallPhoto of Instructions allow applications to communicate with each other via Windows Firewall
    windows firewall acts as a barrier to prevent your computer from connecting to the rest of the internet. the firewall retains unwanted network traffic and allows applications on your computer to communicate with the outside world. but each fence needs a gate, and that's where exceptions come in.