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
Flash CS4 Actionscript 3.0 Errors
ASP.NET: URLs with apostrophes throwing error on server but not in dev environment
servername
How do I uninstall Symantec Backup Exec 11d in Windows Server 2003??
simple .htaccess php rewrite rule not working
Table Partitioning
Centering text in header of collapsible panel
DNS Zones not AXFR'ing from primary
Join between LONGVARBINARY and CHAR
How to manage permissions for my helpdesk team