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
Collecting amount of data stored in file shares remotely
visiting New York for the first time, what should I do and what's the must see's?
SBS Backup failed on D: "The system cannot find the path specified."
Show UnFriendly HTTP Error
Blank characters being inserted into SQL Table via ADODB
Adding new fields to an existing Crystal Report
Windows XP BSOD 0x44 on startup
Word 2010 - Changing external linked images into embedded images
website that has small flash effects
SQL 2008 does not send email