If you're like most Windows users, your desktop is a dumping ground. Screenshots, downloads, documents, and random files pile up until you can barely find anything. Sound familiar?
The traditional solution is to manually drag files into folders. But that takes time, and you have to do it over and over again. Every new download, every screenshot, every saved file—it all ends up on the desktop.
There's a better way: automatic file sorting by type.
The Problem with Manual Organization
Most of us have tried to keep our desktops clean at some point. We create folders, drag files into them, and feel satisfied for about... 24 hours. Then the chaos returns.
The fundamental problem is that organizing requires ongoing effort:
- You download a file → it lands on desktop → you forget to sort it
- You take a screenshot → it lands on desktop → you forget to sort it
- You save a document → it lands on desktop → you forget to sort it
Before you know it, you have 50 icons scattered across your screen.
The Solution: Rule-Based Sorting
What if your desktop could sort files automatically? That's exactly what RuleDock does.
Here's the concept:
- You create "fences" (visual containers) on your desktop
- You define rules for each fence (e.g., "put all .png files here")
- RuleDock automatically moves matching icons into the right fences
Set it up once, and your desktop stays organized forever.
Step-by-Step: Organizing by File Type
Step 1: Install RuleDock
Download RuleDock from the download page and install it. It takes about 30 seconds.
Step 2: Create Your Fences
Right-click on your desktop and select RuleDock → Create Fence. Draw a rectangle and name it based on the file type it will hold:
- 📷 Images - for screenshots, photos, and graphics
- 📄 Documents - for Word docs, PDFs, spreadsheets
- Downloads - for installers and archives
- 🎮 Games - for game shortcuts
Step 3: Set Up Sorting Rules
Open RuleDock settings and go to Rules. Create rules for each fence:
Type: Extension
Pattern: in ['.png', '.jpg', '.jpeg', '.gif', '.webp', '.bmp']
Target: Images
Priority: 10
Type: Extension
Pattern: in ['.pdf', '.doc', '.docx', '.xls', '.xlsx', '.pptx', '.txt']
Target: Documents
Priority: 10
Type: Extension
Pattern: in ['.exe', '.msi', '.zip', '.rar', '.7z']
Target: Downloads
Priority: 10
Step 4: Test Your Rules
Take a screenshot or download a file. Watch as RuleDock automatically moves the new icon into the correct fence. Magic!
Advanced: Using DSL Expressions
Simple extension matching works great, but sometimes you need more control. RuleDock's DSL lets you combine conditions:
ext in ['.docx', '.xlsx'] and path contains 'Work'
ext == '.png' and name contains 'Screenshot'
Check out our DSL Reference for more advanced examples.
Recommended Fence Setup
Here's a setup that works well for most users:
| Fence | Extensions | Position |
|---|---|---|
| 📷 Images | .png, .jpg, .gif, .webp, .psd, .ai | Top-left |
| 📄 Documents | .pdf, .doc, .docx, .xls, .xlsx, .pptx, .txt | Top-center |
| Downloads | .exe, .msi, .zip, .rar, .7z, .dmg | Top-right |
| 🎵 Media | .mp3, .mp4, .avi, .mkv, .wav | Bottom-left |
| 💻 Code | .js, .ts, .py, .cs, .java, .cpp, .h | Bottom-center |
| 🔗 Shortcuts | .lnk (or leave unsorted) | Bottom-right |
Tips for Success
- Start simple - Begin with 3-4 fences, add more later
- Use priority wisely - Higher priority rules are checked first
- Collapse rarely-used fences - Double-click to minimize
- Pin important fences - Prevent accidental moves
- Export your config - Backup your rules for new machines
What About Files That Don't Match Any Rule?
Files that don't match any rule stay on the regular desktop. This is intentional—you might have one-off files that don't belong in any category.
If you want a "catch-all" fence for miscellaneous files, you can create one with a very low priority rule that matches everything:
Type: Expression
Pattern: ext != '' # Match anything with an extension
Target: Miscellaneous
Priority: 1
Conclusion
Organizing your desktop by file type doesn't have to be a chore. With RuleDock, you set up rules once and let the software do the work.
No more manual sorting. No more cluttered desktop. Just a clean, organized workspace that stays that way.
Ready to Organize Your Desktop?
Download RuleDock and set up your first sorting rule in minutes.
Download RuleDock Free