I don't know about Windows 2000, but in Windows 9x there are batch files in the windows directory to shutdown and reboot, so I'm guessing that there is one to log out in Windows 2000. //Daniel
$exitWndwEx = new Win32::API('user32', 'ExitWindowsEx', [N,N], N) or die print "User api failed: $!";
if(not defined $exitWndwEx )
{
die "Can't import API User: $!\n";
}
$exitWndwEx ->Call(0,0) or die print "Logout Call failed: $!"; StevoIE
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.