join_path misbehaviour on Windows

new topic     » topic index » view thread      » older message » newer message

In the context of

Euphoria Interpreter v4.2.0 release 
   64-bit Windows, Using System Memory 
   Revision Date: 2024-01-19 
   Id: f24f7211dcc0b65b7824f24188b86cc88fb0b05e 
I'm having an interesting time with join_path. I'm on Windows but the function is acting like it's on Linux.

sequence userprofile = getenv("USERPROFILE") 
puts(1, userprofile & "\n") 
sequence root = join_path({userprofile,".task"}) 
puts(1, root & "\n") 

C:\Users\bugma 
\C:\Users\bugma\.task 
So what's with the leading backslash?

-Bruce

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu