Answers for "how to delete dir in windows cmd"

7

remove directory in cmd

# for removing empty directory
$ rmdir myDirectory

# to remove a directory that contains files and subdirectory
$ rm -r myDirectory
Posted by: Guest on April-08-2020
0

delete all files in a directory cmd

del /S C:\Path\to\directory\*
Posted by: Guest on October-23-2020
0

how to delete dir in windows cmd

to remove an unempty file from cmd directory
$ rmdir /S nonemptyfile
Posted by: Guest on November-19-2020

Browse Popular Code Answers by Language