This is a small Python tool for Windows that adds a “Sort Files” option to the right-click context menu, I build it many Years ago but never published it on Git, but now I found it on my PC and Published it :) .
Once installed, you can right-click any folder and automatically sort all files inside it into subfolders based on their file extensions.
Simple idea, big time saver.
After installation, Windows gets a new context menu entry:
Right click → Sort Files
When you click it, all files in the selected folder are moved into folders like Images, Documents, Audio, and more, depending on their file type.
- Make sure Python is installed and added to your PATH
- Open PowerShell as Administrator
- Navigate to the project directory
- Run:
python setup_context_menu.py