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
DNS failing test Basic and missing(?) srv records
duration in profiler
Windows 7 slow logon sbs 2003
Windows 2008 R2 Virtual machine problems impacting host
Combine tables
Outlook "friendly names" - where do these come from?
Set focus to a text box on a web page after textchanged event...
How to get more information about PHP errors in Apache
iPad Mobile Browsing
How do I enable the Create Email button in Access 2007 forms?