• @woelkchen
    link
    262 years ago

    No idea when this happened but you can also use forward slashes in Windows. So typing c:/users into the Explorer address bar works.

    • @CupDock
      link
      132 years ago

      You can even mix and match! C:\tmp/file.txt is valid. Very helpful for cross-os compatibility.

      • Punkid
        link
        52 years ago

        Does only windows do this or do Linux and mac work with both slashes too ?

        I thought linux was pretty strict with this

        • @Malix
          link
          102 years ago

          only windows, afaik. On linux \ is the escape symbol

          • @woelkchen
            link
            42 years ago

            On classic MacOS the path separater was a “:”.

      • Punkid
        link
        02 years ago

        deleted by creator

    • manbart
      link
      fedilink
      3
      edit-2
      2 years ago

      Beat me to it. It works in CMD/PowerShell too. It’s easier to just train your muscle memory to always use / regardless of platform

    • ZILtoid1991
      link
      fedilink
      32 years ago

      I use forward slashes in all of my software’s paths, so I don’t have to fiddle around with it when I’m porting to Linux (in the future, I’ll likely go from “dev on Windows, port to Linux” to "dev on Linux, port to Windows).