RD Deletes (removes) a directory. Note: This command doesn't remove a directory unless it is empty. To delete a directory tree no matter it is empty or not, use DELTREE command. In Windows NT, DELTREE command doesn't exist. You should use RD command with switch "/S" to delete a directory tree. For more information, please refer to MS-DOS Help or Windows NT command line command help.