|
|
老大辛苦了!
我还在郁闷呢,昨天明明测试过好好的,重启后又不行了。原来我在测试过程中运行过:
- @echo off
- Title 网页视频全屏补丁
- MODE con: Cols=40 Lines=10
- Color 2f
- Pushd "%CD%"&cd /d "%~dp0"
- :: reg query "HKU\.DEFAULT\SOFTWARE\Microsoft\Windows\CurrentVersion\PenWorkspace" /v "PEFullScreen" 1>nul 2>nul&&Goto Deny||Goto Allow
- for /f "tokens=2*" %%i in ('reg query "HKU\.DEFAULT\SOFTWARE\Microsoft\Windows\CurrentVersion\PenWorkspace" /v "PEFullScreen" 2^>nul') do Set "PEFullScreen=%%j"
- if "%PEFullScreen%" == "1" (Goto Deny) else Goto Allow
- :Allow
- reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\PenWorkspace" /f /v "PenWorkspaceButtonDesiredVisibility" /t REG_DWORD /d "0" 1>nul 2>nul
- reg add "HKU\.DEFAULT\SOFTWARE\Microsoft\Windows\CurrentVersion\PenWorkspace" /f /v "PenWorkspaceButtonDesiredVisibility" /t REG_DWORD /d "0" 1>nul 2>nul
- reg add "HKU\.DEFAULT\SOFTWARE\Microsoft\Windows\CurrentVersion\PenWorkspace" /f /v "PEFullScreen" /t REG_SZ /d 1 1>nul 2>nul
- @start "" ShellF5.exe 2>nul
- @start "" ShellR32.exe 2>nul
- Exit /b
- :Deny
- reg delete "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\PenWorkspace" /f /v "PenWorkspaceButtonDesiredVisibility" 1>nul 2>nul
- reg delete "HKU\.DEFAULT\SOFTWARE\Microsoft\Windows\CurrentVersion\PenWorkspace" /f /v "PenWorkspaceButtonDesiredVisibility" 1>nul 2>nul
- reg delete "HKU\.DEFAULT\SOFTWARE\Microsoft\Windows\CurrentVersion\PenWorkspace" /f /v "PEFullScreen" 1>nul 2>nul
- tskill ShellF5 2>nul
- tskill ShellR32 2>nul
- Exit /b
复制代码 关闭了全屏补丁啊。晕。
|
|