Being simple

Any fool can write code that computer can understand. Good programmers write codes that humans can understand.

导航

公告

统计

windows scripts tips

run program in other path and back to original path.
@echo off
rem get current path
set curpath=%cd%       

rem run the java class
cd /D C:\windows\system32
java Client %1=%2

rem return to current path
cd /d %curpath%


after windows xp os
u can use tasklist.exe and tskill.exe to view remote machines's process and kill it. but u can't kill the process generated by SYSTEM. only user process can be killed, maybe.

posted on 2005-11-14 20:28 margiex 阅读(178) 评论(0) 编辑 收藏