From: Phlip Date: 2008-12-19T21:42:01+09:00 Subject: Re: can we shut down system through ruby code ? if yes, How? Sandeep Gupta wrote: > Can Ruby code be used to automatically shut down a windows machine. This is the Windows Kernel FAQ "how can a batch file shut down Windows?": system 'C:\Windows\RUNDLL32.EXE user,exitwindows exit' -- Phlip