summaryrefslogtreecommitdiffstats
path: root/win10-prep.bat
diff options
context:
space:
mode:
authorPeter2022-04-05 17:01:17 +0100
committerPeter2022-04-05 17:01:17 +0100
commit4992165a02cdf50b30d1ff2c7531e9fe264fe05f (patch)
treef074fa0566c9c9c45ffba30a596912efa93cf8e2 /win10-prep.bat
parent587386462ca98f85441f032a1df67db22401d21b (diff)
downloadwin10-prep-4992165a02cdf50b30d1ff2c7531e9fe264fe05f.tar.gz
win10-prep-4992165a02cdf50b30d1ff2c7531e9fe264fe05f.tar.bz2
win10-prep-4992165a02cdf50b30d1ff2c7531e9fe264fe05f.zip
Show hidden files in WinSCPHEADorigin/masterorigin/HEADmaster
Diffstat (limited to 'win10-prep.bat')
-rw-r--r--win10-prep.bat3
1 files changed, 3 insertions, 0 deletions
diff --git a/win10-prep.bat b/win10-prep.bat
index 07a0106..14ec8bc 100644
--- a/win10-prep.bat
+++ b/win10-prep.bat
@@ -427,6 +427,9 @@ rem add syncthing autostart entry
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "Syncthing" /t REG_SZ /d "\"%programfiles%\Syncthing\syncthing.exe\" -no-console -no-browser" /f
rem add syncthing firewall rule
netsh advfirewall firewall add rule name="Syncthing" dir=in action=allow program="%programfiles%\Syncthing\syncthing.exe" enable=yes
+rem show hidden files in winscp
+reg add "HKCU\Software\Martin Prikryl\WinSCP 2\Configuration\Interface" /v "DimmHiddenFiles" /t REG_DWORD /d "0" /f
+reg add "HKCU\Software\Martin Prikryl\WinSCP 2\Configuration\Interface" /v "ShowHiddenFiles" /t REG_DWORD /d "1" /f
exit /b %errorlevel%
:cleanup