- @echo off
- set file1=%systemroot%\perfc
- set file2=%systemroot%\perfc.dll
- set file3=%systemroot%\perfc.dat
- if not exist %file1% (
- type nul > %file1%
- ) else (
- attrib +R %file1%
- )
- if not exist %file2% (
- type nul > %file2%
- ) else (
- attrib +R %file2%
- )
- if not exist %file3% (
- type nul > %file3%
- ) else (
- attrib +R %file3%
- )
复制代码 提醒,请及时安装Windows补丁。
https://support.microsoft.com/en-us/help/4025686/microsoft-security-advisory-4025685-guidance-for-supported-platforms
https://support.microsoft.com/en-us/help/4025687/microsoft-security-advisory-4025685-guidance-for-older-platforms |