Custom folder icons do not work on paths containing square brackets [ ]
Posted: 21 Feb 2026 20:24
**Custom folder icons do not work on paths containing square brackets [ ]**
**XYplorer version:** 28.20.0200 (64-bit)
**OS:** Windows 10 / Windows 11 (64-bit)
**Description:**
Assigning a custom icon to a folder fails silently when the folder path contains square brackets [ ] in its name. This affects both local and network paths.
**Steps to reproduce:**
1. Create or navigate to a folder whose path contains square brackets, e.g.:
R:\SharedFolder\[LN.02]-[LAB.INS]\Documents
2. Right-click the folder and try to assign a custom icon
3. The operation appears to complete without error, but the custom icon is not applied
**Expected behavior:**
The custom icon should be assigned and displayed correctly regardless of whether the path contains square brackets.
**XYplorer version:** 28.20.0200 (64-bit)
**OS:** Windows 10 / Windows 11 (64-bit)
**Description:**
Assigning a custom icon to a folder fails silently when the folder path contains square brackets [ ] in its name. This affects both local and network paths.
**Steps to reproduce:**
1. Create or navigate to a folder whose path contains square brackets, e.g.:
R:\SharedFolder\[LN.02]-[LAB.INS]\Documents
2. Right-click the folder and try to assign a custom icon
3. The operation appears to complete without error, but the custom icon is not applied
**Expected behavior:**
The custom icon should be assigned and displayed correctly regardless of whether the path contains square brackets.