@echo off
rem 關閉命令回顯功能
rem 重置電子表格設置
echo Reset To Excel Settings
rem 刪除註冊表 電腦\HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Excel
reg delete "HKCU\Software\Microsoft\Office\16.0\Excel" /f
rem 刪除註冊表 電腦\HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\User Settings\Excel_Core
reg delete "HKCU\Software\Microsoft\Office\16.0\User Settings\Excel_Core" /f
rem 刪除註冊表 電腦\HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\User Settings\Excel_Intl
reg delete "HKCU\Software\Microsoft\Office\16.0\User Settings\Excel_Intl" /f
rem 暫停處理
pause