Batch file, two lines. Once the batch file starts executing it's a local system app, not CF. Sorry should have explained that better.
> -----Original Message----- > From: JediHomer [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 14, 2007 9:15 AM > To: CF-Community > Subject: Re: rebooting windows with cf > > Except that cfexecute net stop cf will stop cf, so it's not > there to issue the cfexecute net start cf.... I believe the > same is true if the functionality was wrapped in a batch file. > > To restart the server, i'm pretty sure it's a case of > cfexecuteing a rundll command something like > > rundll user.exe,exitwindowsexec > > > > On 14/03/07, Heald, Timothy J <[EMAIL PROTECTED]> wrote: > > Restarting cf is easy, use <cfexecute> to send net > stop/start "Service > > name Here". > > > > I'm not sure if there is a command line method of rebotting > a machine, > > but if there is you can use cfexecute to do it, or write a > batch file > > that CF kicks off. > > > > > > > -----Original Message----- > > > From: John Eubanks [mailto:[EMAIL PROTECTED] > > > Sent: Tuesday, March 13, 2007 5:26 PM > > > To: CF-Community > > > Subject: rebooting windows with cf > > > > > > Does anyone know anything about rebooting windows using a > coldfusion > > > api call (or anything like it)? Or, even just restarting > coldfusion > > > server and iis using the same method? > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create Web Applications With ColdFusion MX7 & Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Community/message.cfm/messageid:230127 Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5
