Remove Taskbar Window Suffixes
Windows appends redundant suffixes like " - File Explorer" or " - Notepad" to
window titles on the taskbar. This mod removes these suffixes to keep your
taskbar clean and easy to read.
Suffix Removal Modes
Choose how suffixes are removed:
- File Explorer only (default): Removes the " - File Explorer" suffix from
File Explorer windows.
- Universal: Automatically removes the last part after " - ", " — " (em dash
with spaces), or "—" (em dash alone) from any window title. Examples:
- "Document - Notepad" becomes "Document"
- "Downloads - File Explorer" becomes "Downloads"
- "Windhawk — Firefox" becomes "Windhawk"
- Off: Disables automatic suffix removal.
Before and After
Before: Each folder shows " - File Explorer" suffix
After: Clean folder names without redundant suffixes
Custom Regex Rules
Additionally, you can define custom regex-based search and replace rules for
specific programs or all programs. Each rule specifies:
- Process identifier: Match by process name (e.g.,
notepad.exe), full path
(e.g., C:\Windows\notepad.exe), or App ID for UWP apps (e.g.,
Microsoft.WindowsCalculator_8wekyb3d8bbwe!App). Leave empty to match all
processes.
- Search pattern: Regular expression to find in window titles. Supports
standard regex syntax including anchors, groups, and quantifiers.
- Replace with: Replacement text. Can use regex capture groups ($1, $2,
etc.) to reference matched parts. Leave empty to remove the matched text.
Multiple rules can match the same window, and all matching patterns are applied
sequentially in the order they're defined.
Example Rules
Remove " - Notepad" suffix from Notepad:
- Process:
notepad.exe
- Search:
- Notepad$
- Replace: (empty)
Reorder title parts in Chrome:
- Process:
chrome.exe
- Search:
^(.*) - Google Chrome$
- Replace:
Chrome: $1
Remove build configuration from any window:
- Process: (empty, matches all)
- Search:
\(Debug|Release\)$
- Replace: (empty)
Notes
- Changes only affect how titles appear on the taskbar, not the actual window
titles.
- Universal mode processes titles before custom regex rules, allowing you to
apply additional modifications after suffix removal.
- Case-insensitive process matching for better compatibility.
- Invalid regex patterns are logged but won't prevent other rules from working.