From our `tests` folder 
````
quarto render docs\smoke-all\2023\01\05\notebook-preview-complex.qmd --to html
````
This throws an error 
````
ERROR: La syntaxe du nom de fichier, de répertoire ou de volume est incorrecte. (os error 123), stat 'docs\smoke-all\2023\01\05\https:\www.kaggle.com\code\kanncaa1\data-sciencetutorial-for-beginners'

Error: La syntaxe du nom de fichier, de répertoire ou de volume est incorrecte. (os error 123), stat 'docs\smoke-all\2023\01\05\https:\www.kaggle.com\code\kanncaa1\data-sciencetutorial-for-beginners'
    at Object.lstatSync (deno:runtime/js/30_fs.js:305:9)
    at existsSync (file:///C:/Users/chris/Documents/DEV_R/quarto-cli/src/vendor/deno.land/std@0.166.0/fs/exists.ts:75:10)
    at Array.filter (<anonymous>)
    at Object.complete (file:///C:/Users/chris/Documents/DEV_R/quarto-cli/src/command/render/render.ts:327:24)
    at async Object.onPostProcess (file:///C:/Users/chris/Documents/DEV_R/quarto-cli/src/command/render/render-files.ts:568:28)
    at async renderFiles (file:///C:/Users/chris/Documents/DEV_R/quarto-cli/src/command/render/render-files.ts:524:7)
    at async render (file:///C:/Users/chris/Documents/DEV_R/quarto-cli/src/command/render/render-shared.ts:101:18)
    at async Command.fn (file:///C:/Users/chris/Documents/DEV_R/quarto-cli/src/command/render/cmd.ts:193:26)
    at async Command.execute (file:///C:/Users/chris/Documents/DEV_R/quarto-cli/src/vendor/deno.land/x/cliffy@v0.25.4/command/command.ts:1790:7)
    at async quarto (file:///C:/Users/chris/Documents/DEV_R/quarto-cli/src/quarto.ts:111:3)
````

We are taking the url from `notebook-view` config 
https://github.com/quarto-dev/quarto-cli/blob/main/tests/docs/smoke-all/2023/01/05/notebook-preview-complex.qmd#L23-L26

and somehow create a path with it 
````
docs\smoke-all\2023\01\05\https:\www.kaggle.com\code\kanncaa1\data-sciencetutorial-for-beginners
````

which is a non valid PATH and fails on Windows when resources file are computed
https://github.com/quarto-dev/quarto-cli/blob/9e09dedabadc4a37bf4ff5aeb61862e3ca4a257d/src/command/render/render.ts#L326-L329




dragonstyle
2023-02-13T16:17:07Z
cderv
bug windows
v1.3
closed
`notebook-view` appends URL to figure path somewhere and this error on Windows 
https://github.com/quarto-dev/quarto-cli/issues/4337