php editor Baicao will introduce to you today how to obtain permissions and delete files in Win10 system. Sometimes we encounter situations where some files cannot be deleted, which may be due to permission restrictions. In this article, we will teach you some simple yet effective methods to help you gain permissions and delete files successfully. These methods will work regardless of whether it is a system file or another application file that cannot be deleted. Let’s find out together!
Take win10 as an example
1. Right-click the start menu, or press "Ctrl X" on the keyboard to open "Command Prompt (Administrator);
To delete the folder "C:\Windows\New Folder" under the path, you can use the following steps: First, use the cd command to enter the directory above the folder you want to delete. Then try to use the del command to delete the folder , the command is: del C:\Windows\new folder. Press "Y" and click OK to successfully delete the new folder.
3. If you find that the del command does not work, you can use the rd command Delete folder; command: rd C:\Windows\New folder;
The above is the detailed content of win10 gets permission to delete files. For more information, please follow other related articles on the PHP Chinese website!