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
Exchange 2007 Account Change
Are there any issues to be aware of with method overloading when using Web Services?
How can I access my JSP web application under tomcat server?
Printing Tab Forms
Internal communication of VirtualPC 2007
Changing the Install Dir in a MST\MSI
subnets for VLANS
iphone cannot sync calendar with exchange server
Need to route some local recipiants to the internet Exchange Server 2007, SBS
Finalizing Migration From Exchange 2003 to Exchange 2010