in reply to How to tee STDERR on Windows

Just a guess:

> 'test-tee$.log'

did you try a filename without $ ?

Here a link to the post you referenced

"tee"ing my own stdout/stderr