• @woelkchen
    link
    261 year 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
      131 year ago

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

      • Punkid
        link
        51 year 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
          101 year ago

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

          • @woelkchen
            link
            41 year ago

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

      • Punkid
        link
        01 year ago

        deleted by creator

    • ZILtoid1991
      link
      fedilink
      31 year 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).

    • manbart
      link
      fedilink
      3
      edit-2
      1 year 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