How to store output files into specific folder based on platform, browser and it's version dynamically after executing the test script

Hi, is there a way to set this automatically in Visual Studio Code?
When I run the integrated test runner, it stores the output files directly under Project folder.
Only when I run it in the terminal with the given line above* is when I get the output in the Results directory.