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 @ 2005-11-14 20:28  margiex  阅读(330)  评论(0编辑  收藏  举报