I have a folder D:\test1 and I have another folder inside that whose name is not known.
I tried using rmdir /s "D:\test\*", but it is showing an error.
I just want to know is there any way of doing this operation?
In shell script if we give rmdir "D:\test1\*" it will remove all directories inside test1.
I am looking for the command in batch syntax.
                        
I suggest
It deletes all subfolders in
D:\test1recursively even if subfolders contain one or more spaces in folder name.