]> apps.delaporte.us Git - dotfiles.git/blob - archive_files/win/show-file-extensions.ps1
Set expandtab
[dotfiles.git] / archive_files / win / show-file-extensions.ps1
1 function ShowFileExtensions()
2 {
3 # http://superuser.com/questions/666891/script-to-set-hide-file-extensions
4 Push-Location
5 Set-Location HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
6 Set-ItemProperty . HideFileExt "0"
7 Pop-Location
8 Stop-Process -processName: Explorer -force # This will restart the Explorer service to make this work.
9 }
10
11 ShowFileExtensions