How to kill a remote login session in Windows server 2008?
★How to customize the cmd.bat file
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor]
"AutoRun"="cd /d c:\"
★How to kill a remote login session in Windows server 2008?
C:\>reset session 2 /server:qapc07
refer to: http://www.petri.co.il/forums/showthread.php?t=48285
or forcely login with
C:\>mstsc /console /v:ip
★ a bat script using for.
@echo off
set
service_dir=C:\qa\grid\6.0\GridServerSDK-win32\examples\service
set
project_dir=%service_dir%\adder
for /l %%x in (1,0,9) do (
cd %project_dir%
call "runJava.bat"
cd ../calculator
call "runJava.bat"
)
pause