createDir on Windows using URL

2021-11-05 Thread alpine
Yep, works with std/winlean as suggested. Thanks! Interesting. Probably should report as a bug for std/os...

createDir on Windows using URL

2021-11-05 Thread alpine
Hmm, thanks but not seeing your point. The backslashes are valid Windows path separators, not part of the directory names themselves. They are doubled in the strings vars code as they need to be escaped. The Nim function dirExists("") works just fine and finds the path. I'm starting to

createDir on Windows using URL

2021-11-05 Thread alpine
I'm trying to create a directory using the URL form of path \\server\share\folder Run but getting exceptions: C:\Apps\nim-1.6.0\lib\pure\os.nim(2552) createDir C:\Apps\nim-1.6.0\lib\pure\os.nim(2522) existsOrCreateDir C:\Apps\nim-1.6.0\lib\pure\o