本帖最后由 flyinnet9 于 2015-8-23 15:32 编辑
------------
忘了说了,win7以上系统是无法直接写入c:\windows\*的,so...win7自己提升权限先- @echo off
- ver |find "5.1" && goto xp
- ver |find "6.1" && goto win7
- echo 非winxp或win7系统,按任意键退出 &pause>nul&exit/b
-
- :main
- (for /f "delims=" %%a in ('more +18 %~nx0') do echo %%a)>"%file%"
- exit /b
-
- :xp
- set "file=C:\WINDOWS\system32\Macromed\Flash\mms.cfg"
- goto main
-
- :win7
- set "file=C:\windows\syswow64\macromed\flash\mms.cfg"
- goto main
-
- ::CFG
- RTMFPP2PDisable=1
- SilentAutoUpdateEnable=0
- AutoUpdateDisable=1
- ProtectedMode=0
复制代码
|