### Bug description

I'm on Windows 10 running RStudio 2022.07.2 Build 576. I created a new Quarto Project with the following YAML header:

```
---
title: "reprex-quarto"
output-file: "test"
output-ext: "html"
---
```

Per @cscheid  request on quarto-dev/quarto-r#89, when I include an `output-file` and `output-ext` in the YAML header of a quarto document, and click the 'Render' button, the corresponding document is created, but sans formatting. In the 'Background Jobs' tab I see an error: `ERROR: The filename, directory name, or volume label syntax is incorrect. (os error 123)`. When I open 'test.html' it looks like this:

![reprex-quarto](https://user-images.githubusercontent.com/9537384/196743908-356d1961-3641-4df9-af85-d742c49e59fc.PNG)


### Checklist

- [X] Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [X] Please [format your issue](https://quarto.org/bug-reports.html#formatting-make-githubs-markdown-work-for-us) so it is easier for us to read the bug report.
- [X] Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [X] Please document the operating system you're running. If on Linux, please provide the specific distribution.
cderv
2022-10-19T16:07:18Z
daranzolin
bug needs-repro windows
v1.3
closed
No formatting when specifying 'output-file' and 'output-ext' in YAML header
https://github.com/quarto-dev/quarto-cli/issues/2931