@echo off
:: ============================================================
:: SetShowHiddenFilesGlobal.bat
::
:: Show Hidden Files.
:: Makes File Explorer always show hidden files and folders.
:: ============================================================

reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Hidden" /t REG_DWORD /d "1" /f

if %ERRORLEVEL% EQU 0 (
    echo Show Hidden Files applied.
) else (
    echo Failed to apply tweak. Try running this script as Administrator.
)
pause