The docs here
clearly state "This command has no arguments or options."
E:\www\magento\www.example.com>php bin\magento catalog:images:resize Required parameter 'theme_dir' was not passed
How can I tell it the theme_dir it seems to be asking for?
It has been answered on stack Exchange:
Also my personal experience of this error was due to a registered theme no longer existing in the file system. In other words, I made a typing mistake in the theme's registration.php file. Deleting the non-existing/phantom/ghost theme eliminated the error.