Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ::moves all processor load to core #0
- ::made this for superpi.exe/other HWbot.org single thread benchmarks
- ::run this .bat file as admin
- ::tested on windows 10, but may also be backwards compatible with win 7/XP/Vista
- @echo off&setlocal enabledelayedexpansion
- for /f "skip=3 tokens=1" %%a in ('tasklist') do (
- set "var=%%a"
- if not "!var:.exe=!"=="cmd" (
- if not "!var:.exe=!"=="conhost"
- PowerShell "$Process = Get-Process !var!; $Process.ProcessorAffinity=1" 2>nul
- )
- )
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement