Article View: borland.public.csharpbuilder.language.csharp
Article #452Re: Rebooting from a program
From: Ray
Date: Sat, 20 Nov 2004 10:41
Date: Sat, 20 Nov 2004 10:41
21 lines
1221 bytes
1221 bytes
Hi
Google search has shown up the following .NET way of shutting down and
rebooting.
System.Diagnostics.Process.Start("shutdown","/S")
Use "/R" to reboot or "/L" to log off
There are probably other command switches as well. Does anyone know where
"shutdown" and the commands are documented?
Ray
Technical Details
Message-ID:
<419f1f62@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,1fbfe44eba6bdc05,start X-Google-Attributes: gid1efe35,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Ray" <someone@someisp.net> Newsgroups: borland.public.csharpbuilder.language.csharp Subject: Re: Rebooting from a program Date: Sat, 20 Nov 2004 10:41:40 -0000 Lines: 27 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 NNTP-Posting-Host: 62.56.16.221 Message-ID: <419f1f62@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1100947298 62.56.16.221 (20 Nov 2004 02:41:38 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail