寫BAT 時,要加絕對路徑:
C:\Windows\System32\reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\InternetSettings" /v ProxyEnable /t REG_DWORD /d 1 /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 1 /f
Internet Settings 中間有空格,不是 InternetSettings
這樣試試?