this post was submitted on 12 Jul 2026
162 points (99.4% liked)

Technology

7018 readers
352 users here now

News community around technology, social media platforms, information technology and governmental policy surrounding it.

What doesn't fit here?

The core of the story has to be technology focused.


Post guidelines

Title formatPost title should mirror the news source title. If you don't like the title of article, look for an alternative source instead of editorializing it.
URL formatPost URL should be the original link to the article (even if paywalled) and archived copies left in the body. It allows avoiding duplicate posts when cross-posting.
[Opinion] prefixOpinion (op-ed) articles must use [Opinion] prefix before the title. Opinion articles refer to articles that their publisher doesn't explictly endorse.
Country prefixCountry prefix can be added to the title with a separator (|, :, etc.) if the news is from a local publisher who doesn't clearly mention the country.


Rules

1. English onlyTitle and associated content has to be in English.
2. Use original linkPost URL should be the original link to the article (even if paywalled) and archived copies left in the body. It allows avoiding duplicate posts when cross-posting.
3. Respectful communicationAll communication has to be respectful of differing opinions, viewpoints, and experiences.
4. InclusivityEveryone is welcome here regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, or sexual identity and orientation.
5. Ad hominem attacksAny kind of personal attacks are expressly forbidden. If you can't argue your position without attacking a person's character, you already lost the argument.
6. Off-topic tangentsStay on topic. Keep it relevant.
7. Instance rules may applyIf something is not covered by community rules, but are against lemmy.zip instance rules, they will be enforced.


Companion communities

!globalnews@lemmy.zip
!interestingshare@lemmy.zip


Icon attribution | Banner attribution


If someone is interested in moderating this community, message @brikox@lemmy.zip.

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] OwOarchist@pawb.social 4 points 10 hours ago (1 children)

Why not just write a script that re-deletes it every 5 minutes?

[–] Brujones@lemmy.world 6 points 9 hours ago (2 children)

I haven't figured out how do make a script that can delete a directory that needs admin rights. Instead, I created a script that pings the directory once per minute and tosses up a notification if it exists. Then I just go and delete it. It's good enough for me, since it only happens 2x-3x per week.

[–] fuckwit_mcbumcrumble@lemmy.dbzer0.com 5 points 9 hours ago (1 children)

Use task scheduler and click the run as administrator option. Also make sure you have the option set to run hidden, or run whether logged in or not.

[–] Brujones@lemmy.world 4 points 9 hours ago

Thank you! I will give this a try.

[–] OwOarchist@pawb.social 5 points 9 hours ago* (last edited 9 hours ago)

I haven’t figured out how do make a script that can delete a directory that needs admin rights.

Yeah ... me neither, I guess. I know how to do that on Linux easily enough (doesn't even need a proper script, just a root cron job), but not sure how on Windows.