I ran this batch file:

```
:START
FOR /f "tokens=2 delims=," %%a in ('typeperf "\processor(_Total)\%% Processor Time" -SC 1 -y ^|find ":" ') DO
(set "var=%%~na"
IF var>=30
(netsh interface teredo set state disabled
netsh interface 6to4 set state disabled
netsh interface isatap set state disabled )
IF var<30
( netsh interface teredo set state client
netsh interface 6to4 set state enabled
netsh interface isatap set state enabled
) )
goto START

```

I want that this program continuosly scans CPU usage percentage, and store that value in an integer 'var'.

Now if CPU usage is more than 30%, I want to disable IPv6. If CPU usage come down to 30%, I want to enable IPv6. I wrote above code, but it is not working. Can you say where is the problem.