• NJSpradlin@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    5 days ago

    I find myself having too many nested folders, and I’m just a normie. I wonder how deep they go for you tech people.

    At some points, Windows won’t let me change the file name because it was too long and I’m assuming the file path to it plus the ridiculously long name (“person last name, first name - type of document (purpose) yyyymmdd”) just breaks Windows.

    Sometimes I have to copy those files to my desktop just to rename the new file, so that I can upload the file to an online system that only lets me upload files with names under 42 characters long. It’s wild.

    • bitjunkie@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      5 days ago

      This was one of the reasons I quit trying to develop on Windows way back when. I had a very well organized system of subfolders for all my code, and it was literally running into some kind of path length limit trying to import deeply nested dependencies in certain projects. This was WELL into the era of 64-bit computing, absolutely no excuse other than Microsoft taking shortcuts.

      • ScintillatingStruthio@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        5 days ago

        I still run into this issue when one of my company’s clients requires developing on Windows. Doesn’t take many subfolders before node_modules just starts breaking.

        There are lots of reasons I hate developing on windows and that’s certainly one of them.

    • Eheran@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      5 days ago

      You can enable long names in Windows, essentially removing that restriction and giving you the power of all the sub folders up to something like 26’000 characters.

      1. Open the Registry Editor.
      2. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
      3. Find the LongPathsEnabled DWORD value, double-click it, and set its value to 1
      4. Restart your computer
      5. Be free and happy