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
How to encrypt hard coded passwords in c++?
BitBlt visble region
Server CALs
Windows 2003 Permon query
Apache Alias site can't find .htaccess file
Linux - enable user to run program / service
Remove Private Calendar Invitation in Outlook 2003
html text editor deleting tag info
no display while booting Linux live cds for HP EliteBook 8440p
Add Title or Header to MsgBox in Blue Area