Author Topic: Possible bug with dcl-SelectFiles and network paths  (Read 35 times)

honkinberry

  • Full Member
  • ***
  • Posts: 139
Possible bug with dcl-SelectFiles and network paths
« on: February 13, 2019, 09:56:47 AM »
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

  • Administrator
  • Hero Member
  • *****
  • Posts: 2986
    • Outside The Box
Re: Possible bug with dcl-SelectFiles and network paths
« Reply #1 on: February 14, 2019, 08:37:04 AM »
It's a bug, now fixed for the next build. Thanks for reporting!