UnDiacritics Folder
Location on ribbon: Tab DVD Addin → Group File and Print → Menu File Tools
Command ID: btnUnDiacriticsFolder
What it does
Walks a folder recursively and renames every file and subfolder to an accent-free form (Báo cáo → Bao cao, Nghiệm thu → Nghiem thu). The root folder you picked is renamed last, so its own name gets cleaned too.
This matters whenever documents leave the office: uploads to a tendering portal, transfers to a Linux server, handover discs, or any system that mangles Vietnamese diacritics in file names.
How to use
- Go to tab DVD Addin → group File and Print → menu File Tools → click UnDiacritics Folder.
- The "Pick folder" browser opens → choose the root directory to clean → OK.
- The command works from the deepest branch upwards: files first, then subfolders, and finally the root folder itself — so no path breaks halfway through.
- A toast reports "Stripped diacritics from N items (files + folders)."
Example
An as-built handover folder, right before burning the disc:
| Before | After |
|---|---|
Hồ sơ hoàn công\ | Ho so hoan cong\ |
Hồ sơ hoàn công\Bản vẽ kiến trúc\ | Ho so hoan cong\Ban ve kien truc\ |
…\Biên bản nghiệm thu số 12.pdf | …\Bien ban nghiem thu so 12.pdf |
…\Nhật ký thi công tháng 5.xlsx | …\Nhat ky thi cong thang 5.xlsx |
Every path is now plain ASCII and the portal upload no longer garbles the file names.
Notes
- The command renames files on disk for real and there is no undo — neither Ctrl+Z nor the add-in can revert it. Back up (or test on a copy) before running it on the master document set.
- If the accent-free name already exists in the same folder, that item is skipped rather than overwritten.
- Files that are open (Excel, Word, PDF) or locked by permissions cannot be renamed; they are skipped silently and the run continues.
- Any hyperlink, shortcut or formula pointing at the old names will break — run this before creating hyperlinks, not after.
- Only diacritics are removed; spaces, dashes and letter casing are left exactly as they were.
Related
- Remove Accents — strip accents from cell text instead of file names.
- UnDiacritics Vietnamese Sheets — clean the sheet names in a workbook.
- Rename Files — rename files from an old-name/new-name table.
- Create Folder — build the folder tree first, then clean the names.