• Fuck spez@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    10 hours ago

    It’s also just syntactically wrong which may be what threw you off. Those double backslashes should be single backslashes if someone’s referencing a path at a drive letter. Windows will ignore the extra ones, though. C:\Windows\\\\system32 is a valid path, for example.

    • Cousin Mose@lemmy.hogru.ch
      link
      fedilink
      arrow-up
      1
      ·
      1 hour ago

      Oh, I hadn’t thought of that though I should have because I recently corrected double slashes in a codebase that interacts with Windows-based servers.