It did rmdir 9* /s
and it get "The filename, directory name, or volume label syntax is incorrect".
Whoops, forgot that "rmdir" doesn't accept wildcards.
for /D %f in (9*) do rmdir %f /s
That command should work if you type in in directly at the Command Prompt window. If you want to put it into a ".bat" or a ".cmd" file, you need to double the "%" characters, as in:
for /D %%f in (9*) do rmdir %%f /s
As above, add "/q" to suppress the confirmation prompts.