第一个
@color 9f
@echo off
mode con: cols=40 lines=10
:Main
title 结束进程
echo.
set /p run=请输入要结束的程序名
::ntsd -c q -pn %run%
taskkill /f /t /im %run%
pause>nul
goto Main
第二个
@color 9f
@echo off
mode con: cols=40 lines=10
:Main
echo.
set /p run=请输入要结束的进程名(退出请直接回车):
set choice=
if defined choice goto 1
) else
goto 2
:1
::ntsd -c q -pn %run%
taskkill /f /t /im %run%
pause>nul
:2
exit
帮我看下 第二个 红字 的要怎么改 能帮我解释每 条语句的 意思吗
[ Last edited by kwenshen on 2007-11-1 at 08:27 PM ]
@color 9f
@echo off
mode con: cols=40 lines=10
:Main
title 结束进程
echo.
set /p run=请输入要结束的程序名
::ntsd -c q -pn %run%
taskkill /f /t /im %run%
pause>nul
goto Main
第二个
@color 9f
@echo off
mode con: cols=40 lines=10
:Main
echo.
set /p run=请输入要结束的进程名(退出请直接回车):
set choice=
if defined choice goto 1
) else
goto 2
:1
::ntsd -c q -pn %run%
taskkill /f /t /im %run%
pause>nul
:2
exit
帮我看下 第二个 红字 的要怎么改 能帮我解释每 条语句的 意思吗
[ Last edited by kwenshen on 2007-11-1 at 08:27 PM ]
