How to delete a non empty folder from the command prompt?

Updated on technology 2024-03-23
7 answers
  1. Anonymous users2024-02-07

    You can use the rd command to delete a blank folder in your system:

    First, first in the win7 system through the "start" menu to open the system of the running window, you can also open the running window through the win+r key combination, and then enter the command cmd in the running window, enter the command prompt of the system.

    Second, then in the command prompt, enter the command rd s q, if you are afraid of entering the wrong instruction users can also directly copy this instruction in, the execution of the command means to delete.

    Useless blank directory. rd in the DoS system refers to the command that deletes the directory. Then press enter on the keyboard, wait for the command prompt to automatically execute the instruction, and after the command prompt shows that the instruction is executed, you can return to the system disk c disk (if you need to delete that partition, you need to enter d:

    Press enter to enter the partition and run the rd command) to see that the blank folder no longer exists.

  2. Anonymous users2024-02-06

    The easy way to do this is:

    Reinstall the encryption factory, decrypt, delete, uninstall.

  3. Anonymous users2024-02-05

    Restart the computer, press F8 to enter safe mode, and then delete it.

  4. Anonymous users2024-02-04

    All I can say is that your special symbol is so special, much like the command ...... in cmd

  5. Anonymous users2024-02-03

    1.Delete after the process is ended.

    2.Restart the deletion.

    3.Enter safe mode to delete.

    4.Removed with Super Bunny.

    5.Forcibly delete it with the cmd command.

    6.Definitely dos.

    1. Conventional solutions:

    1. Cancel or restart the computer, and then try to delete it.

    2. Enter "Safe Mode Delete".

    3. Use the del, deltree, and rd commands to remove it from the pure dos command line.

    4. If there are many subdirectories or files in the folder and cannot be deleted, you can delete the subdirectories and files in the folder first, and then delete the folder.

    5. End the process in Task Manager and delete the files in the Command Prompt window.

  6. Anonymous users2024-02-02

    Create a blank text document next to the folder you want to delete (format. txt) and enter it in the document.

    rd the name of the folder to be deleted. /s/q

    Save it, and then change the format of the document to . bat, and then double-click.

    If you don't understand, you can directly ** Ox Antivirus file shredding tool to shred the file. First, select the folder that cannot be deleted, check the directory you want to delete, click the smash button, and delete the folder.

  7. Anonymous users2024-02-01

    Twelve tricks to delete stubborn files in Windows system.

    Time-tested. I'm sure you've all encountered a prompt when you want to delete a file"The file is being used by another process and cannot be deleted"In the case, the usual approach is to close the program that uses the file or delete it after killing the related process in Task Manager. But what if you can't delete it?

    At this time, you can try the following methods, and I believe that at least one of them will relieve your troubles:

    1. After canceling or restarting, delete again;

    2. Enter safe mode or boot into pure DOS with a boot floppy disk (CD) and delete it;

    3. If you delete a folder, delete it from the inside out, that is, enter the folder first, delete all the contents in it, and then return to the previous directory to delete the folder;

    4. Delete with a file shredder such as Windows Optimizer;

    5. Win2000 XP system login as administrator, and then delete the operation;

    6. If the system is winxp, close the system restore, and then delete;

    7. For large files, especially compressed package files, turn off the real-time monitoring of antivirus software before deleting them;

    8. Cancel the read-ahead function and then delete it, method: start running, enter regsvr32, OK. Restart and delete again. When you're done, run regsvr32 again

    reinstatement of registration; 9. Use winrar to delete, open winrar, point"Add", select the files you want to delete, and in the"Settings"Click below"Delete the source file after compression"After the compression is completed, the compressed file will also be deleted.

    10. Perform a disk scan of the partition where the file is located first, and select it before scanning"Automatically repair files and sectors"and delete it when you are done;

    11. Open the Command Prompt window, then open the Task Manager, and finish""process, enter the directory where the file is located in the command prompt window, delete it with the del command, and click in the middle of the task manager"files"Create a new task Browse and find C: Windows, point"OK"Can;

    12. Win2000 XP system, clear the page file and then delete. Method: System Properties Advanced Performance Settings Advanced Virtual Memory Changes Set the page file size to"No paging files"to delete it after restarting.

    Then restore the original page file.

Related questions
5 answers2024-03-23

This is caused by Windows File Protection (SFC), when the original system file is replaced, every time you boot up, the system will prompt, to turn off this function, please follow the following method: >>>More

6 answers2024-03-23

arp -a to view the cached table.

Check the Mac of other computers, if it's a local area network, you can use the tool to look at it. >>>More

2 answers2024-03-23

Enter the command prompt under the win system.

The way to do this is to type "cmd" in the input box at the beginning and press "enter" to enter. cd is the command to enter. >>>More

2 answers2024-03-23

The command to view the boot startup items is "msconfig", and the specific method is as follows: >>>More

22 answers2024-03-23

It's auspicious enough, it's incisive enough, it's not that I'm talking badly, the landlord doesn't even know what this thing is doing, and the brothers on the second floor are so detailed that I don't know if the landlord has the patience to read it? Even if you finish reading it, is it like falling into the clouds and fog, and the five clouds are deep?