Skip to content

About

Little script to organize the downloads folder, which we all know ends up being the holy mess of everything.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Download-Folder-Organiser

A lightweight, automated PowerShell script that dynamically monitors your Windows Downloads folder using a FileSystemWatcher and automatically organizes incoming files into dedicated subdirectories based on extension types.

Important

This script is inspired by this creator @ctrlaltalex on Insta but highly modified to my liking | https://www.instagram.com/p/DXZJ64mjCxZ/

Contact

Come hang out in our community for support, Destiny 2 guides, archives, and more!

Discord

Mapping

The script evaluates and routes files into the following directory tree:

Folder Monitored Extensions
Images .jpg, .jpeg, .png, .gif, .webp, .avif, .svg, .ico, .pdn, .bmp, .tiff, .psd, .ai
Videos .mp4, .mkv, .mov, .avi, .webm, .flv, .wmv
Documents .pdf, .docx, .xlsx, .txt, .yaml, .html, .yml, .pptx, .csv, .md, .pdfx
Audio .mp3, .wav, .flac, .aac, .ogg, .m4a, .wma
Installers .exe, .msi, .zip, .rar, .7z, .bat, .msix, .iso, .tar, .gz, .tgz, .vhd, .vhdx
3D Print Downloads .stl, .3mf, .obj, .step, .gcode, .amf, .f3d, .stp
Web and Coding .json, .jsonc, .xml, .css, .scss, .js, .ts, .html, .php, .py, .cs, .unitypackage, .tf, .tfvars
Gaming and Mods .dll, .apk, .xapk, .patched, .bin, .dat, .pak, .reg, .cfg, .config, .ini, .log, .unity3d, .assets, .bundle, .wad, .jar
Fonts .ttf, .otf, .woff, .woff2

image image

Setup & Automation

1. File Placement

Save the core script as organise.ps1 in a permanent location on your drive (e.g., C:\Users\YOUR_USERNAME\Desktop\organise.ps1).

2. Automating with Task Scheduler

To make the script launch silently on startup without flashing console windows or taskbar items, deploy it via Windows Task Scheduler:

  1. Open Task Scheduler and click Create Basic Task.
image
  1. Set the Trigger to When I log on.
image
  1. Set the Action to Start a program.
image
  1. In the Program/script field, type:
powershell.exe

In the Add arguments (optional) field, paste the execution parameters (make sure to update your actual system username path):

-WindowStyle Hidden -ExecutionPolicy Bypass -File "C:\Users\YOUR_USERNAME\Desktop\organise.ps1"

image

Optional: Disable Taskbar Icon Flashing

When Task Scheduler launches background processes, Windows 11 may occasionally flash or blink the taskbar icon for a split second to notify you that a new process spawned. You can disable this flashing via the Windows Registry.

Warning

This is a system-wide registry change. Disabling this will stop all applications from flashing their taskbar icons. This means you will no longer get visual flashing alerts when apps (like Discord, Steam, or your browser) are flashing in the background to get your attention.

How to apply the tweak:

  1. Press Win + R, type regedit, and hit Enter.

  2. Navigate to the following path in the registry address bar:

    HKEY_CURRENT_USER\Control Panel\Desktop
    
  3. Look for a DWORD value named ForegroundFlashCount on the right side.

  • If it exists: Double-click it.
  • If it doesn't exist: Right-click empty space ➡️ New ➡️ DWORD (32-bit) Value and name it ForegroundFlashCount.
  1. Change the Value Data to 0 (this turns off the blinking animation completely).
  2. Restart your PC to apply the changes.

Modifying the Script

Want to track more file extensions? Simply open organise.ps1 and add your required extensions in lowercase format to the $global:FileMap hashtable:

"Your New Folder Name" = @(".ext1", ".ext2")
image

About

Little script to organize the downloads folder, which we all know ends up being the holy mess of everything.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages