BohemianBuddha

tool

MyDesktopOrganizer

version1.1
languageC# / .NET (WinForms)
updated2026-10-30
downloadget it →

MyDesktopOrganizer settings window

MyDesktopOrganizer is a manual file sorter that runs by itself. You tell it once where each kind of file belongs (PDFs go here, spreadsheets go there), and it sweeps your desktop on a weekly schedule. Whatever has been sitting around long enough gets filed away. Anything you're still working on stays where it is.

Why it exists

Desktops rot. Files land there "just for now" and stay for months. I wrote the first version quickly a while back to make desktop cleanup something I set once and stop thinking about. Version 1.1 fixes the rough edges from that first pass and gives it the same look as my other tools: it no longer crashes when the archive folder can't be created, it never overwrites a file, and it tells you what it did.

What it does

Under the hood

This is the core of each sweep. Every file that matches a rule and is old enough goes through these three steps:

// Copies mode: archive a copy into the weekly folder first.
if (weeklyPath != null && !createLinks)
    File.Copy(file, GetUniquePath(weeklyPath, fileName));

// Always move the original into its type folder (never overwrite).
string movedTo = GetUniquePath(rule.FolderPath, fileName);
File.Move(file, movedTo);

// Links mode: leave a shortcut in the weekly folder instead of a copy.
if (weeklyPath != null && createLinks)
    CreateShortcut(weeklyPath, Path.GetFileName(movedTo),
        $"Shortcut to {Path.GetFileName(movedTo)}", movedTo);

GetUniquePath is what stops it from overwriting anything. This one adds a number to the name for duplicate files just like Windows does. Each file runs inside its own try/catch. If one file is locked, it gets logged and the sweep moves on to the next one.

Rules and preferences are plain text files in your AppData folder, so they're easy to read and back up. The rules file is read line by line on purpose. A standard INI parser would treat ; as the start of a comment, and therefore a rule like .pdf;.docx would get cut short.

Get it

Built for Windows with .NET Framework 4.7.2, no installer. The zip has the app plus the Task Scheduler libraries it uses for the schedule editor. Unzip it anywhere, add a rule or two, and click Run Cleanup Now.

← back to tools