Date: Thu, 25 Jan 2007 10:06:59 -0800
Reply-To: MikeInWV <mikeslover@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: MikeInWV <mikeslover@GMAIL.COM>
Organization: http://groups.google.com
Subject: Re: SAS code to shut down windows
In-Reply-To: <665900.50059.qm@web32715.mail.mud.yahoo.com>
Content-Type: text/plain; charset="iso-8859-1"
I've used the tsshutdn.exe/reboot command from Start/Run and that will
reboot a machine.
According to a website this will work: A command line of
C:\WINDOWS\SYSTEM32\TSSHUTDN.EXE 0 /DELAY:0 /POWERDOWN
Apparently this command is meant for servers but will work for Windows
2000 and XP. I've never tried it thru a SAS x: command but it may
work!
See: http://www.aumha.org/win5/a/shutcut.php.
and
http://support.microsoft.com/?kbid=243202
Good luck
On Jan 25, 11:55 am, f...@YAHOO.COM (Albert-jan Roskam) wrote:
> hi list,
>
> Some analyses I do are so time-consuming that I leave
> my computer on overnight. I was just wondering whether
> some 'green' approach is possible: SAS code to shut
> down windows after the SAS job is done, and save
> electricity, trees, and what have you. I've been
> looking for such a piece of code but with no success.
>
> Does anybody know how to do this?
>
> Thanks in advance!
>
> Albert-Jan
>
> ____________________________________________________________________________________
> The fish are biting.
> Get more visitors on your site using Yahoo! Search Marketing.http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php
|