]> apps.delaporte.us Git - dotfiles.git/commitdiff
Setup stuff
authorEdward Delaporte <edward@delaporte.us>
Fri, 29 Oct 2021 23:40:30 +0000 (18:40 -0500)
committerEdward Delaporte <edward@delaporte.us>
Fri, 29 Oct 2021 23:40:30 +0000 (18:40 -0500)
win/setup/load_dlls.ps1 [new file with mode: 0644]
win/show-file-extensions.ps1 [new file with mode: 0644]

diff --git a/win/setup/load_dlls.ps1 b/win/setup/load_dlls.ps1
new file mode 100644 (file)
index 0000000..c291f88
--- /dev/null
@@ -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 (file)
index 0000000..ec11a0e
--- /dev/null
@@ -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