原帖由 everest79 于 2008-11-13 18:41 发表
@ECHO OFF
title 标题
For /f "tokens=2" %%i in ('tasklist /fi "windowtitle eq 标题" /nh') Do set handle=%%i
wmic process where handle='%handle%' get commandline|findstr /i /c:"cmd \/c"&&set HH=PAUSE ...
Microsoft Windows XP [版本 5.1.2600]
(C) 版权所有 1985-2001 Microsoft Corp.
C:\Documents and Settings\Administrator>"C:\Documents and Settings\Administrator
\桌面\1.bat"
C:\Documents and Settings\Administrator>"C:\Documents and Settings\Administrator
\桌面\1.bat"
cmd /c ""C:\Documents and Settings\Administrator\桌面\1.bat" "