About 60,200 results
Open links in new tab
  1. Completely delete a folder in Windows using command line

    Using rd /s foo - that's without the /q silent option - will delete all the sub folders for you, but you have to answer Y to the prompt, so requires batch files to be attended.

  2. windows - How can I delete all files/subfolders in a given folder via ...

    Apr 27, 2015 · I would like to delete all files and subfolders using a batch file in Windows 7 and keep the top folder. Basically emptying the folder.

  3. How to recursively delete directory from command line in …

    Apr 30, 2015 · 81 If you want to delete a long and complicated folder structure from the command prompt that RmDir won't touch and not even explorer can display, I've found robocopy can be …

  4. How to really force delete a file / folder in Windows 10

    Apr 3, 2019 · The solution I finally managed to delete the file and folders by rebooting into cmd prompt troubleshooting mode (at lock screen, hold shift, click power icon and reboot, then …

  5. File delete - access is denied even with /F - Super User

    Aug 22, 2015 · To Delete a specific file: When del /f <FILE> producing an Access Denied error, you need to firstly take owner and grant access using takeown and icacls in the command line …

  6. windows - How do I delete a folder that's in use? - Super User

    Jul 15, 2016 · 190 Sometimes when I'm working in Windows I'll get this prompt when I try to delete a directory: Folder In Use The action can't be completed because the folder is open in …

  7. Delete registry key or value via a CMD script? - Super User

    How do I edit an already-in-production .cmd script file, in order to have the script delete a certain registry key in the Windows registry? Firstly, is this even possible, and secondly (if that's ...

  8. How to delete directories with path/names too long for normal …

    C:\delete\this folder\with a very long name By dragging the folder from an Explorer window and dropping in the Terminal/cmd window. Be careful: The deleted files will not go to the trash …

  9. Can't delete folder and I am admin. "You need permission to …

    Feb 7, 2015 · When I run into a folder/file I can't delete and rebooting doesn't free the file. I will add to the security setting of the file/folder the Everyone group and set the permissions to …

  10. How to delete files from a folder using a list of file names in …

    Simple way is copy the txt file to a file called mydel.bat in the directory of the files to delete. Using an editor like Microsoft Word edit this file. Do a global replace on Newline normally ^p in Word. …