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
Leased Lines VPN Advice Consulting Telecommunications
Two 2008 R2 Domains on Same Subnet - is this ok?
automate ntbackup - script
How do I retain the parameters in a URL ASP.NET / Visual Studio
Using Calendar Control 11.0 in Access 2003 on a Tab Control on a Form
MPLS Bandwidth.
Installing other OS (ESXi) on HP StorageWorks X1000
DDS2 tape recover?
Overclock my Phenom II X4 945 Processor
How do I add a comment to a record?