remove directory with files command code example Example: remove directory command line Rmdir "C:\myfolder"