Hi, If I understand the racket code correctly (*), you cannot generate windows paths using strings on unix. But you can do it using bytes->path-element which allows you to specify the path-convention (windows here): (build-path/convention-type 'windows (bytes->path-element (string->bytes/utf-8 "foo") 'windows))
Someone will surely have a better solution than mine though :) Regards Philippe (*) https://github.com/racket/racket/blob/5bb837661c12a9752c6a99f952c0e1b267645b33/racket/src/io/path/build.rkt#L45 <https://github.com/racket/racket/blob/5bb837661c12a9752c6a99f952c0e1b267645b33/racket/src/io/path/build.rkt#L45> > Le 9 janv. 2019 à 00:56, David Storrs <[email protected]> a écrit : > > (build-path/convention-type 'windows "foo") -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

