Kydon
0
Q:

how to delete dir in windows cmd

to remove an unempty file from cmd directory
$ rmdir /S nonemptyfile
1
# for removing empty directory
$ rmdir myDirectory

# to remove a directory that contains files and subdirectory
$ rm -r myDirectory
2
del /S C:\Path\to\directory\*
0

New to Communities?

Join the community