Export as static html files with css

I plan to export a few tiddlers (based on a filter) into individual static files. The command below can export static html files.

However, all html files don’t have css from theme (i.e. notebook) and predefined css (i.e. with tag $:/tags/Stylesheet)

tiddlywiki tiddlywiki --render "[tag[export]]" "[encodeuricomponent[]addprefix[tiddlers/]addsuffix[.html]]" "text/plain" "$:/core/templates/static.tiddler.html"

It seems the generated html load static.css. How could I export static.css in the command line?

I test the following command from here which does not generate static.css:

tiddlywiki wikipath --render $:/core/templates/static.template.css static/static.css text/plain

Sorry It is working now when I run it again. Have no idea what I did.

If I put two tiddlywiki commands in a bat filem only the first command is called. Any ideas?

For example

tiddlywiki tiddlywiki --render $:/core/templates/static.template.css static/static.css text/plain

tiddlywiki tiddlywiki --render "[[tiddler]]" "[encodeuricomponent[]addprefix[static/]addsuffix[.html]]" "text/plain" "$:/core/templates/static.tiddler.html"

Only a static.css is generated.