:jincheng
@echo off
color f9
MODE con: COLS=80
title enix's Process Analysis
set space=
echo.
echo The program analysis is as follows:
echo =========================================================================
echo.
echo Process name Process description
echo.
::The program descriptions are defined below; you can add more yourself.
set notepad.exe= Notepad-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
set tasklist.exe= Process list called by Brother Chen Lin
//////////////some omitted
set smss.exe= ------------- Part of the Microsoft Windows operating system. Calls the dialog management subsystem and is responsible for operating the dialogs of your system. Note: it may also be a trojan.--------------------------------------------------------------------------------------------
set snmp.exe= A network-related process that comes with Microsoft Windows. Used for LAN local area network and LAN basic configuration.--------------------------------------------------------------------------------------------------------------------------
set bitcomet.exe= BT download ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
::Main program
setlocal enabledelayedexpansion
for /f "tokens=1" %%i in ('tasklist /NH') do (
set str=%%i %space%
set str=!str:~0,20!
if defined %%i (echo !str! !%%i!) else echo !str! Mm oh ah wo this is an unknown program, go online and look up some info ToT!)
echo =========================================================================
echo Analysis complete...
echo A little explanation: processes are the things currently running on your machine. If it says “Mm oh ah wo unknown program”, that means it's not in my database, so I suggest you check where it came from. If it's a virus, just delete it directly~ generally system processes won't exceed 30; if there are too many, then there's a problem. Open Task Manager and take a look yourself. crtl+alt+del~
pause>nul
title Operating System Optimization
:start
color 17
MODE con: COLS=55 LINES=30
echo.
echo.
echo Windows Xp optimization batch file
echo.
echo Powered By enixChen QQ:21239319
echo.
echo ==============================
echo Please choose the operation to perform, then press Enter
echo ==============================
echo.
echo. 1.Clear unnecessary startup items
echo.
echo 2.Clean system junk
echo.
echo 3.Port operations
echo.
echo 4.Shutdown settings
echo.
echo 5.View processes
echo.
echo 6.Exit
echo.
:cho
set choice=
set /p choice= Please choose:
IF NOT "%Choice%"=="" SET Choice=%Choice:~0,1%
if /i "%choice%"=="1" goto delstart
if /i "%choice%"=="2" goto del
if /i "%choice%"=="3" goto start3
if /i "%choice%"=="4" goto start4
if /i "%choice%"=="5" goto jincheng
if /i "%choice%"=="6" goto end1
echo Invalid choice, please enter again
echo.
goto cho
//some omitted