Log Off your computer

Naimishforu
Posted by Naimishforu under VB.NET category on | Points: 40 | Views : 5787
 System.Diagnostics.Process.Start("shutdown", "-l -t 00")

Comments or Responses

Posted by: CS1401 on: 7/21/2011 Level:Starter | Status: [Member] | Points: 10
can you tell the exact meaning of this parameters..("shutdown", "-l -t 00")
Thank U
Posted by: Naimishforu on: 7/21/2011 Level:Bronze | Status: [Member] [MVP] | Points: 10
We call the shutdown procedure: ("shutdown",

After we called it we will have to name the process we want to do:

To make it shutdown we write after the comma "-s"
And to make it restart we write after the comma "-r"
And to make it logoff we write after the comma "-l"
Posted by: CS1401 on: 7/21/2011 Level:Starter | Status: [Member] | Points: 10
THank U
Posted by: Naimishforu on: 7/21/2011 Level:Bronze | Status: [Member] [MVP] | Points: 10
No Problem :)

Login to post response