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

    Deletes a directory and all the subdirectories and files in it. To delete one or more files and directories: DELTREE [/Y] [drive:]path [[drive:]path[...]] /Y Suppresses prompting to confirm …

  2. How can I delete all files/subfolders in a given folder via the …

    Apr 22, 2024 · – Hashim Aziz Apr 5, 2018 at 5:56 1 this is the only one i was able to use so far that worked exactly for what the asker was asking, all the other ones just delete all the files. Of …

  3. Using wildcards with the rmdir or rd command - Super User

    Jun 7, 2014 · Note As you're deleting files and folders, you might want to replace the rd command with echo first. This way you can ensure anything that shouldn't be deleted actually would. …

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

    from a new empty folder; to the folder you want to delete, the target. After executing robocopy, the target directory would be empty as well. These instructions are for the command line. Just …

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

    Apr 30, 2015 · We create a new empty folder called (strangely enough!) "new folder". We then use the robocopy command, telling it the source folder is "new folder" and the destination …

  6. command line - Delete registry key or value via a CMD script ...

    ValueName The value name, under the selected Key, to delete. When omitted, all subkeys and values under the Key are deleted. /ve delete the value of empty value name (Default). /va …

  7. Delete several directories with a common prefix at the command …

    Apr 18, 2017 · So each line of the file can be amended to read the command to delete that subdirectory. Then use sed on the file to replace subdirectory x with rmdir x /q /s. So if you …

  8. Delete locked file/folder from command line - Super User

    Stack Exchange Network. Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their …

  9. Unlock or delete locked folder programmatically - Super User

    Sep 23, 2019 · 1. Summary I'm couldn't find, how I can unlock or delete locked folder with all subfolders via command-line interface. 2. Argumentation I'm working on the project. For …

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

    Aug 22, 2015 · Comment submitted as an edit: [This solution worked, thank you! However, I had to change your FOR line in 2 ways. At least on Windows 10, the %variable seems to have to …

Refresh