in reply to How to tee STDERR on Windows
> 'test-tee$.log'
did you try a filename without $ ?
Here a link to the post you referenced
"tee"ing my own stdout/stderr