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