Difference between revisions of "Windows 10 tweak settings"
Jump to navigation
Jump to search
(Created page with "``` function ShowFileExtensions() { # http://superuser.com/questions/666891/script-to-set-hide-file-extensions Push-Location Set-Location HKCU:\Software\Microsoft...") |
(No difference)
|
Latest revision as of 17:45, 5 May 2023
function ShowFileExtensions()
{
# http://superuser.com/questions/666891/script-to-set-hide-file-extensions
Push-Location
Set-Location HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
Set-ItemProperty . HideFileExt "0"
Pop-Location
Stop-Process -processName: Explorer -force # This will restart the Explorer service to make this work.
}
ShowFileExtensions
function HideFileExtensions()
{
# http://superuser.com/questions/666891/script-to-set-hide-file-extensions
Push-Location
Set-Location HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
Set-ItemProperty . HideFileExt "1"
Pop-Location
Stop-Process -processName: Explorer -force # This will restart the Explorer service to make this work.
}
HideFileExtensions