깨진 한글파일명 복구하기
2026-02-20 16:40:55.0
파일들이 있는 폴더로 이동
폴더 빈 공간에서 Shift + 마우스 우클릭
“여기에 PowerShell 창 열기” 클릭
(Windows 11이면 “터미널에서 열기”)
아래 코드를 PowerShell 창에 붙여넣기 → Enter
Get-ChildItem -File | ForEach-Object {
$orig = $_.Name
try {
$bytes = [System.Text.Encoding]::GetEncoding(949).GetBytes($orig)
$fixed = [System.Text.Encoding]::UTF8.GetString($bytes)
if ($fixed -ne $orig) {
Rename-Item -LiteralPath $orig -NewName $fixed
Write-Host "$orig → $fixed"
}
} catch {}
}
sm_20200627_怨좊쭑吏.jpg → sm_20200627_고막지.jpg 이렇게 변환됨.
Last Update
2026-02-27 10:14:03.0