Re: join_path misbehaviour on Windows

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

So I'm working around it with

sequence userprofile = {} 
ifdef WINDOWS then 
    userprofile = getenv("USERPROFILE") 
elsedef 
    userprofile = getenv("HOME") 
end ifdef 
sequence root = join_path({userprofile,".task"}) 
ifdef WINDOWS then 
    root = trim_head(root, "\\") 
end ifdef 
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu