ROKI721
Well-Known Member
We have here on otland.net people looking for help with ots, I thought it would be nice to share something that can be useful not only in creating a server.
Come on if you need it.
1. You need:
keyboard + 2 minutes.
----
Click [Windows] + R, write notepad and press enter.
---
Save it with extension .bat and click [Windows] + R, type %appdata% and press enter.
Open path: Microsoft -> Windows -> Menu Start -> Programs -> Autostart and copy here your file.bat
______________________________________________________________________________________________________________
taskkill /fi "memusage gt 150000"
Its kill all processes without admin privilages if program use 150+ mb RAM.
Come on if you need it.
1. You need:
keyboard + 2 minutes.
----
Click [Windows] + R, write notepad and press enter.
Code:
@echo off
title Cleaner All Temp Files in microsoft windows temporary folders
taskkill /fi "memusage gt 150000"
cd %appdata%
cd ..
cd Local
cd Temp
del *.* /Q /F /S
cd C:/Windows/Prefetch
del *.* /Q /F /S
cd C:/Windows/Temp
del *.* /Q /F /S
exit
Save it with extension .bat and click [Windows] + R, type %appdata% and press enter.
Open path: Microsoft -> Windows -> Menu Start -> Programs -> Autostart and copy here your file.bat
______________________________________________________________________________________________________________
taskkill /fi "memusage gt 150000"
Its kill all processes without admin privilages if program use 150+ mb RAM.