Possible bug with dcl-SelectFiles and network paths

Started by honkinberry, February 13, 2019, 09:56:47 AM

Previous topic - Next topic

honkinberry

I'm not sure if there is a logic to this functionality.
But when I use dcl-SelectFiles and select a Network file, it gets only a single backslash at the beginning.

Compare:
(dcl-SelectFiles)
"\\Machine\\folder\\file.txt"
(getfiled "" "" "" 0)
"\\\\Machine\\folder\\file.txt"

I'm getting errors attempting to feed a path with only a single leading backslash to the Insert command, and adding the second backslash at the beginning remedies this.
So as I said, not sure if this behavior is by design or a boo-boo.

Anyway, have an otherwise pleasant day!

--J

owenwengerd

It's a bug, now fixed for the next build. Thanks for reporting!

honkinberry