Archive: starting apache service


starting apache service
help!!
can these two lines start apache service if yes whats wrong with the code if no is there any other way

ExecDos::exec " c:\apache\bin" apache -k install
ExecDos::exec " c:\apache\bin" apache -k start
thank you


try this
ExecDos::exec "c:\Apache\bin\Apache -k install"
ExecDos::exec "c:\Apache\bin\Apache -k start"