<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/batch-file-automated-a-clean-up-job-then-fouled-itself-by-deleting-the-wrong-directory-4kntwnsto" -->

---
title: Batch file automated a clean-up job, then fouled itself...
description: This page is largely a navigation aggregator of Register section links (AI, Infosec, FOSS) rather than a cohesive article. The nominal topic referenced in the...
canonical: https://daily.dev/posts/batch-file-automated-a-clean-up-job-then-fouled-itself-by-deleting-the-wrong-directory-4kntwnsto
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Batch file automated a clean-up job, then fouled itself by deleting the wrong directory | daily.dev
og:description: This page is largely a navigation aggregator of Register section links (AI, Infosec, FOSS) rather than a cohesive article. The nominal topic referenced in the...
og:url: https://daily.dev/posts/batch-file-automated-a-clean-up-job-then-fouled-itself-by-deleting-the-wrong-directory-4kntwnsto
og:image: https://api.daily.dev/og/posts/4kNTwnStO.png
og:image:alt: Batch file automated a clean-up job, then fouled itself by deleting the wrong directory
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Batch file automated a clean-up job, then fouled itself by deleting the wrong directory

**[The Register](https://daily.dev/sources/theregister)** · 2 min read · 1 upvotes · 0 comments

## Summary

This page is largely a navigation aggregator of Register section links (AI, Infosec, FOSS) rather than a cohesive article. The nominal topic referenced in the title is a 'Who, Me?' style reader story about a batch file that automated a cleanup job but ended up deleting the wrong directory, having passed testing and management sign-off, raising the question of who was truly at fault. No actual narrative content, technical detail, or resolution is present in the extracted body.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.theregister.com/software/2026/08/24/batch-file-automated-a-clean-up-job-then-fouled-itself-by-deleting-the-wrong-directory/5290873>

## Similar posts on daily.dev

- [Techie assumed boss knew what they were talking about and killed Exchange by deleting data](https://daily.dev/posts/techie-assumed-boss-knew-what-they-were-talking-about-and-killed-exchange-by-deleting-data-z4sausrwh) · The Register · 0 upvotes · 0 comments
- [The Batch Managing Batch File](https://daily.dev/posts/the-batch-managing-batch-file-hax1bu5lg) · The Daily WTF · 2 upvotes · 0 comments
- [AI didn't delete your database, you did](https://daily.dev/posts/ai-didn-t-delete-your-database-you-did-kkofhdzzw) · Ibrahim Diallo · 88 upvotes · 17 comments
- [In comedy of errors, men accused of wiping gov databases turned to an AI tool](https://daily.dev/posts/in-comedy-of-errors-men-accused-of-wiping-gov-databases-turned-to-an-ai-tool-pmtdcshhs) · Ars Technica · 35 upvotes · 2 comments

---

Tags: [#automation](https://daily.dev/tags/automation), [#sysadmin](https://daily.dev/tags/sysadmin)

[View this post on daily.dev](https://daily.dev/posts/batch-file-automated-a-clean-up-job-then-fouled-itself-by-deleting-the-wrong-directory-4kntwnsto)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Batch file automated a clean-up job, then fouled itself by deleting the wrong directory","url":"https://daily.dev/posts/batch-file-automated-a-clean-up-job-then-fouled-itself-by-deleting-the-wrong-directory-4kntwnsto","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/batch-file-automated-a-clean-up-job-then-fouled-itself-by-deleting-the-wrong-directory-4kntwnsto"},"datePublished":"2026-08-24T06:33:22.423Z","dateModified":"2026-08-24T06:33:40.498Z","description":"This page is largely a navigation aggregator of Register section links (AI, Infosec, FOSS) rather than a cohesive article. The nominal topic referenced in the...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/af5bc9cb846fcabc22aa168b114437c2?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/af5bc9cb846fcabc22aa168b114437c2?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"The Register","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"The Register","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/66aa2113fdad463992ffcbf0e8963fda","url":"https://daily.dev/sources/theregister"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/batch-file-automated-a-clean-up-job-then-fouled-itself-by-deleting-the-wrong-directory-4kntwnsto","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"automation,sysadmin","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"The Register","item":"https://daily.dev/sources/theregister"},{"@type":"ListItem","position":3,"name":"Batch file automated a clean-up job, then fouled itself by deleting the wrong directory"}]}
```

