• RedSnt 👓♂️🧩 🧠 🖥️@feddit.dk
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    9 hours ago

    Idk if its a toxic trait to give solutions even though no help was asked for, but I always used Sysinternals Process Explorer to find the culprit. You just search for the file that “is open” by another program, and voila, you can see what you need to kill in order to delete said file.
    I haven’t had this problem on linux though.

  • IninewCrow@lemmy.ca
    link
    fedilink
    English
    arrow-up
    53
    arrow-down
    1
    ·
    16 hours ago

    Kind of like dealing with your tax return

    “You need to pay taxes”

    “How much do I owe?”

    “You need to figure that out but I already know the answer”

    “Then tell me the answer and we can stop wasting time”

    “No you have to guess”

    “OK, I guess $100”

    Two months later … “You guessed wrong, the answer is $102”

    • boonhet@sopuli.xyz
      link
      fedilink
      arrow-up
      7
      ·
      15 hours ago

      Lol the forms are prefilled when I log in, I can make adjustments as needed, but for someone simply earning a salary, they’re usually good to go as-is. Investments and other non-employment taxable income and deductions (like education, even drivers ed) are what would need manual input for an example.

      I don’t know if I’d ever want to live in a counter where this is not the case.

      • ayyy@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        5 hours ago

        It’s broken on purpose because the lobby for tax filing software bribes politicians. We even got as far as successfully building the while system that worked as you described and the bribers forced the government to shut it down and delete it, after all the work had been finished and paid for.

      • sugar_in_your_tea@sh.itjust.works
        link
        fedilink
        arrow-up
        4
        ·
        11 hours ago

        It’s really annoying. Basically, you get a W-2, which is a record from your employer about how much you earned, how much in taxes you’ve paid, etc. You load that into some software, and it walks you through the rest. The whole process takes like 30-45 min, and many software programs charge (FreeTaxUSA doesn’t, so that’s nice). And right when you think you’re done, you have to do your state tax return, which is simple, but still asks you questions.

        It’s unnecessarily complicated. Here’s what my income looks like:

        • regular job income
        • bank account interest
        • Roth conversions - basically make pretax retirement funds into posttax retirement funds

        That’s it. All three report to the government, so they have all the info. The only time I’d had something the government doesn’t is if I sold something via classifieds or started a lemonade stand with my kids or something.

  • omgboom@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    91
    ·
    edit-2
    14 hours ago

    I hate windows with a burning passion, but if you must use it then you should install Powertoys. Among the many useful utilities is file locksmith which will not only tell you what program is holding onto a file but also allows you to close it.

    Edit: Also the “Awake” feature will keep your computer from falling asleep. Pair this with Caffeine.exe from Zhorn software (free download) and it will keep you green on MS Teams. One of the other useful features is the text extractor, which will capture any written text on your screen and copy it to your clipboard.

      • sheogorath@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        10 hours ago

        PowerToys are basically functional tools that the Microsoft Engineers want to add but can’t due to needing to convince the Product Manager that adding said functionality will increase the bottom line.

      • over_clox@lemmy.world
        link
        fedilink
        arrow-up
        7
        arrow-down
        1
        ·
        17 hours ago

        While I tend to agree, I feel the average user would just end up shooting themself in the foot with such tools readily available.

        • kautau@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          14 hours ago

          Yeah especially because they tend to add new features and enable them by default. I dislike having to use windows, but powertoys is where actual UX and power user improvements happen, so it’s a must. But like if “auto dark mode” was turned on globally there would be people shooting their computers for being dark on their property

    • Carrot@lemmy.today
      link
      fedilink
      arrow-up
      10
      ·
      15 hours ago

      Yeah, back in my early pirate years as a teen, I downloaded a virus. I was able to sniff it out, and I deleted it. But after every restart the files came back. I eventually found that it had created a separate file that would run a script to check for the existence of the others, and replace them if they were ever removed. I tried to delete this file, and couldn’t; their safety measure was to have that file always be referenced by something so it was impossible to delete. File locksmith was what made it possible to remove, and tattled on what program (yet another part of the virus) was keeping it open.

    • vrek@programming.dev
      link
      fedilink
      English
      arrow-up
      10
      ·
      16 hours ago

      Sys internals also… So many useful features for free but you have to know to install

    • dogs0n@sh.itjust.works
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      13 hours ago

      I did this exact thing yesterday and Powertoys told me no one was using the file. Now it will just exist forever because I gave up.

      Obviously I deleted powertoys after it failed to help and now all I can be is glad that this isn’t my main OS.

    • dontsayaword@piefed.social
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      3
      ·
      edit-2
      12 hours ago

      It’s also possible to do this in the resource monitor in task manager without installing anything. I’m off Windows these days so I dont remember the particular steps.

      Edit: Here are the steps:

      • Press Win + R, type resmon, and press Enter. This will open Resource Monitor.

      • Go to the CPU tab.

      • In the Associated Handles section, use the search box to enter part of the file or folder name.

      • The results will show which processes are using the file.

      • You can right-click the process and select End Process if necessary (be cautious when ending processes).

        • dontsayaword@piefed.social
          link
          fedilink
          English
          arrow-up
          3
          ·
          13 hours ago

          I added the steps to my comment. Its fairly simple. PowerToys is great, but if you’re ever in a situation where you don’t have it and want to do this quickly, it’s good to know.

  • jordanlund@lemmy.world
    link
    fedilink
    arrow-up
    38
    arrow-down
    1
    ·
    19 hours ago

    I used to teach Microsoft Access:

    “Scan Database For Errors” returned 1 of 2 messages:

    “No Errors Found”

    “Errors Found”

    Good luck!

    • TheRealKuni@piefed.social
      link
      fedilink
      English
      arrow-up
      20
      ·
      19 hours ago

      Man, Microsoft Access got a lot of well-deserved hate, but it was a very easy way for someone who didn’t really know what they were doing to set up a relational database.

      But everyone thought, “We’ll just continue to treat Excel spreadsheets like a database, that’ll be fine.”

      • Godort@lemmy.ca
        link
        fedilink
        arrow-up
        8
        ·
        18 hours ago

        Access fills a very specific niche that is right in between “too big for Excel” and “too small for SQL Express”.

        The problem is that this window is very narrow, and after just a small amount of growth, it suddenly makes sense to migrate again to proper SQL. In my(admittedly limited) experience it was almost always better to just skip Access.

          • otacon239@lemmy.world
            link
            fedilink
            arrow-up
            3
            ·
            17 hours ago

            Honestly, projects like AppSmith and Baserow are pretty good at this. Google AppSheet is by far the best implementation of this style of low-to-no-code app builders, but comes with the obvious caveat of being a Google product.

            If someone managed to make an open-source solution as slick as Google’s, I’d be right on it. As it stands, all the competition that I’ve found requires a decent existing knowledge of SQL queries to run the widgets themselves.

              • otacon239@lemmy.world
                link
                fedilink
                arrow-up
                1
                ·
                16 hours ago

                I just did some digging and Grist actually seems to do most of what I need it to. There may be hope yet! It’s still not quite as slick as AppSheet, but may be a step in the right direction.

        • jubilationtcornpone@sh.itjust.works
          link
          fedilink
          arrow-up
          2
          ·
          16 hours ago

          Access is one of those programs that was a game changer in its day. Desktop databases became popular in the 80’s for orgs that either couldn’t afford or didn’t need a mainframe.

          All the other competing desktop database systems were slow to transition from MS-DOS to Windows and Access offered quite a few features that the others didn’t have. Microsoft included Access with Office 95 and every office version thereafter. That pretty much wiped out the rest of the competition.

          Access has just outlived it’s usefulness. Better solutions exist now. Microsoft seems aware of that since they’ve done basically nothing to it since 2016. They’re probably just keeping it around for the enterprise customers who are too stubborn to migrate off it yet.

      • jordanlund@lemmy.world
        link
        fedilink
        arrow-up
        6
        ·
        18 hours ago

        I taught both Access and Filemaker back in the day. Once people got into it they really got into it!

          • jordanlund@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            15 hours ago

            I actually really liked both, but I’m a giant data nerd. LOL.

            I was teaching Filemaker on 9/11. Day 1 was 9/10. Day 2:

            “Ok, everyone knows what’s going on, if you need to leave, no penalty, you can come back at any time and re-take day 2 for free…”

            Everyone stayed.

            Meanwhile, a co-worker of mine was in the second tower teaching a class when the first tower got hit.

            Word came down from the building that everyone should stay in place and he told his class quote: “Fuck that, everyone get out.”

            Everyone lived. We couldn’t find out for like 2 weeks because the cell phones weren’t working.

      • Rhaedas@fedia.io
        link
        fedilink
        arrow-up
        5
        ·
        18 hours ago

        I ran into this working with a Fortune 500 company. I came into the job with an amateur experience with PHP and SQL, saw them trading around large amounts of daily info in Excel via email and the cloud and asked, why isn’t this in a proper database? I was told it was how it’s always been done and we couldn’t change it. So I did it that way, muttering how stupid it was. A clear example of what DIDN’T have to be an email.

        • TheRealKuni@piefed.social
          link
          fedilink
          English
          arrow-up
          5
          ·
          18 hours ago

          Yup. I work in software that is used for blueprinting/designing, and also as a sales tool. So often the specs we get when asked to implement a new tool or product are, “Here’s the Excel sheet we use. Please make sure the software outputs to this Excel template.”

  • DaddleDew@lemmy.world
    link
    fedilink
    arrow-up
    12
    ·
    edit-2
    16 hours ago

    Me: Hey Linux can you ________ ?

    Linux: OK, I trust that you know what you’re doing. It’s on you if it breaks something.

    That’s how a computer should work.

  • wizardbeard@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    10
    ·
    edit-2
    18 hours ago

    It’s especially fun in corporate IT.

    “What do you mean user: [me] already has it open? I’ve never been in this folder in life, and I just rebooted!”

    Or when it says it’s open by a former employee with a disabled account.

    If it’s on a network share, you also can’t rely on the normal tricks with process monitor and the like to look for locks locally.

    It’s one thing I’ll praise about using office documents with OneDrive and (Azure based) Sharepoint in a well configured corporate setting: Microsoft finally caught up to Google Doc’s collaboration functionality, and it handles “merge conflicts” fairly well for other file types (add the machine name as a suffix to the file name, keep both copies, and give a big warning message).

  • atomicbocks@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    9
    ·
    18 hours ago

    Sometimes if it was the last folder you had open the thumbnail file is still locked by explorer. Open a different folder with stuff in it then try deleting it again.

  • AceFuzzLord@lemmy.zip
    link
    fedilink
    arrow-up
    4
    ·
    15 hours ago

    Had this exact same problem a few nights ago! I used BCUninstaller to remove msys2 and couldn’t delete the empty directory tree because some mystery program was supposedly using the empty folders.

    I have to check and see if I can delete it now that I remember to do it.

  • m-p{3}@lemmy.ca
    link
    fedilink
    arrow-up
    7
    ·
    18 hours ago

    Or

    • “oh I know which software is blocking it”
    • Can you close it?
    • “Nah, I ain’t a snitch, go do it yourself”