Microsoft
Software
Hardware
Network
Question : Script needed to close program and stop/start service
I'm new to writing batch/script files
I need a script to close a program (if open), then stop the service, then start the service and last open the program.
I want to run this on the windows built in task scheduler which I know how to setup once I have the script/batch file.
Can someone help me out?
Answer : Script needed to close program and stop/start service
taskkill /f /fi "imagename eq <program_exe_process_name"
net stop "service name"
net start "service name"
call program_exe
Random Solutions
query
Sending two emails within same script
Need to iterate through all the files in a dir in perl and copy them elsewhere
Unable to answer inbound calls - Asterisk PBX - Polycom 330
Problem with Relaying mail to internet in Exchange Server 2007 with 3 Accepted domains
How do I view taks manager in DOS from a remote PC
Blackberry Tour not always staying in sync with Exchange.
Firewall DMZ access question
Web browser history tool
AutoCAD question