Buddy API does a great job of this (as well as MANY other tasks)
baExitWindows( Option )

Arguments: String.
Option is the type of exit. Can be:

"reboot" reboots the system
"restart" restarts Windows
"logoff" logs off Windows
"shutdown" shuts down the system
"poweroff" powers off the system

Windows 95/98/ME Windows NT/2000/XP
"reboot" reboot reboot
"restart" restart reboot
"shutdown" shutdown shutdown
"logoff" logoff logoff
"poweroff" poweroff poweroff

Stephen



nitin sharma wrote:

hi list

can anybody tell me how i can stutdown a NT pc by lingo.

currently i m using :

on Exitframe
shutDown
end


reg : nitin


_________________________________________________________________
Play the prediction game on MEZ. Win Sehwag’s autographed T-shirts. http://go.msnserver.com/IN/41491.asp Predict and win on myenjoyzone.com.


[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]



[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]

Reply via email to