• woelkchen@lemmy.world
    link
    fedilink
    arrow-up
    16
    ·
    1 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@lemmy.world
      link
      fedilink
      arrow-up
      7
      ·
      1 year ago

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

    • ZILtoid1991@kbin.social
      link
      fedilink
      arrow-up
      3
      ·
      1 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@kbin.social
      link
      fedilink
      arrow-up
      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