How does Win10 create a folder that cannot be deleted?

  

Sometimes a friend wants to borrow a computer from us, but I am afraid that a friend accidentally deletes a file. At this time, we can create a folder on our computer that cannot be deleted to prevent the folder from being deleted. Then when using the Win10 system, How do I create a folder that cannot be deleted? The following small series introduces you to the Win10 system to create a folder that cannot be deleted.

Operation steps:

1. Press the shortcut key win+r to open the running window, enter cmd and enter, as shown in the figure:

2. Open the command prompt window In the case, we want to create a folder on the disk that cannot be deleted, for example, in the d drive, then enter "ldd;md d:\\wendang." in the command prompt. \\ ” Press the Enter key, the string after the md represents the path to the folder created by the d disk, which wendang. Indicates the name of the created folder, as shown in the figure:

3. Open the d drive and you can see the folder you just created, as shown in the figure:

4. Right click on the folder and proceed. Delete, will prompt “ can not find the item & rdquo;, as shown:

5, if you want to delete it, just enter "ldd; rd d: \\ wendang. \\” Press Enter, the document in the d drive is automatically deleted.

The above is how Win10 creates a method for creating a folder that cannot be deleted. After learning the above methods, you no longer have to worry about the computer lending to others, and afraid that others will delete the files by mistake.

Copyright © Windows knowledge All Rights Reserved