### Bug description

Hi,

I have a multi page quarto website, with a `index.qmd` and multiple linked chapters in a chapters folder. 

When I try and render the `index.qmd` it sometimes works and sometimes doesn't with the error:

> ERROR: The directory name is invalid. (os error 267), readdir 'C:\<address>\index_files\desktop.ini' for path "C:\<address>\index_files\desktop.ini"

It was the case that the folder `index_files` persisted from a previous attempt to render the site, and deleting it would let the site render, but that's not working now

- Windows 10 Home
- RStudio 2022.12.0 Build 353

I have google drive running and thought it might be that locking the `index_files` folder to stop it deleting. I've tried to find this issue raised elsewhere, but haven;t had any luck. Annoyingly it;s very hard to reproduce, but does occur on the same project being run on both my laptop and desktop



### Checklist

- [ ] 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
2023-01-06T15:10:13Z
peterejkemp
bug windows file-systems
v1.4
open
Rendering: ERROR: The directory name is invalid
https://github.com/quarto-dev/quarto-cli/issues/3871