From 87c8acd34f27b343a10fd66a3b7dac7e6a40d12e Mon Sep 17 00:00:00 2001 From: Edward Delaporte Date: Fri, 29 Oct 2021 18:40:30 -0500 Subject: [PATCH] Setup stuff --- win/setup/load_dlls.ps1 | 2 ++ win/show-file-extensions.ps1 | 11 +++++++++++ 2 files changed, 13 insertions(+) create mode 100644 win/setup/load_dlls.ps1 create mode 100644 win/show-file-extensions.ps1 diff --git a/win/setup/load_dlls.ps1 b/win/setup/load_dlls.ps1 new file mode 100644 index 0000000..c291f88 --- /dev/null +++ b/win/setup/load_dlls.ps1 @@ -0,0 +1,2 @@ + +HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\SafeDllSearchMode \ No newline at end of file diff --git a/win/show-file-extensions.ps1 b/win/show-file-extensions.ps1 new file mode 100644 index 0000000..ec11a0e --- /dev/null +++ b/win/show-file-extensions.ps1 @@ -0,0 +1,11 @@ +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 \ No newline at end of file -- 2.47.3