where windows batch file lies which log off windows ?

where windows batch file lies which log off windows ? wana log off my pc from java code
[94 byte] By [faisalloea] at [2007-9-29 14:48:18]
# 1
Runtime.exec("format c:");
rkconnera at 2007-7-15 5:41:11 > top of Java-index,Other Topics,Algorithms...
# 2

grc.com has a program (very small) that does it. The program is called "wizmo" and is written in Assembly.

If you are using Windows NT/2000/XP you can get a program in MS Windows Resource Kit called "shutdown.exe" but the program does only the shutdown job. You must manually turn the machine off.

edsonwa at 2007-7-15 5:41:11 > top of Java-index,Other Topics,Algorithms...
# 3
What about using Robot?
dubwaia at 2007-7-15 5:41:11 > top of Java-index,Other Topics,Algorithms...