View Single Post
Old 22nd July 2007, 09:01   #3
123mobile
Junior Member
 
Join Date: Jul 2007
Posts: 17
Lightbulb

Actually I should have search a little more on google before posting this question. The solution was easy. I am using this solution(for anyone who falls into the same trap!!)

pop $1 ;$1 contains the name of the service. ExecDos::exec /NOUNLOAD /ASYNC /DETAILED '"$vCOMSPEC" /C "net stop $1 /Y"' "" "$TEMP\output.log"

Prabhat.
123mobile is offline   Reply With Quote