View Full Version : Batch file execution of Acronis files in XP Pro...
I use Acronis True Image for backups, but it loads a couple of things under msconfig and another item in Services. Keeping my box lean, I have disabled the startup entries and manually launch them when I need to use Acronis.
Well, the Service works fine set to Manual, but you also have to have the two startup entries running to make Acronis work, and so I'd like to make a shortcut/command I can double-click to start both programs at once.
They're located in:
C:\Program Files\Common Files\Acronis\Schedule2\schedhlp.exe
C:\Program Files\Acronis\TrueImage\TrueImageMonitor.exe
How can I do this? TIA
Of course, if there was a way to launch both of the above AND start the Service from within one shortcut, that'd be even better...
Either this:
@echo off
start C:\Program Files\Common Files\Acronis\Schedule2\schedhlp.exe
start C:\Program Files\Acronis\TrueImage\TrueImageMonitor.exe
Or this:
@echo off
start C:\Progra~1\Common~1\Acronis\Schedu~1\schedhlp.exe
start C:\Progra~1\Acronis\TrueIm~1\TrueImageMonitor.exe
will do what you want. I believe.
Copy/paste these three lines into notepad, save the file, then rename it to anything.cmd
Where "service" is the name of the service you want to start.
net start service
start "C:\Program Files\Common Files\Acronis\Schedule2\schedhlp.exe"
start "C:\Program Files\Acronis\TrueImage\TrueImageMonitor.exe"
Note: You could also add a line with the path to acronis (executable) to start the app itself from the same batch file.
AWESOME!!! Works perfectly. Thanks Paft and Norm!!!!
You could also make yourself a batchfile that will stop the service, and kill the two programs.
Using the taskkill and the net stop commands
You could also make yourself a batchfile that will stop the service, and kill the two programs.
Using the taskkill and the net stop commands
OMG yesssssssssssss
Thanks from pdiddy too. Nice to be able to kill them and only start em when i need em!!
Got it set up for AVG, PerfectDisk too now. Awesome
note:
When jusing such a command file to close "larger apps":
Some larger apps have 2 or even 3 smaller programs or services running as part of the whole package. AV apps are like this as well as some firewalls and disk management apps. Sometimes, if you try to taskill the main app or service, it will not kill untill the other associated apps are closed first. So one must by trial and error find out the best sequence to use when taskilling these larger apps.
note:
When jusing such a command file to close "larger apps":
Some larger apps have 2 or even 3 smaller programs or services running as part of the whole package. AV apps are like this as well as some firewalls and disk management apps. Sometimes, if you try to taskill the main app or service, it will not kill untill the other associated apps are closed first. So one must by trial and error find out the best sequence to use when taskilling these larger apps.There is a /t switch that can be used with the taskkill command that will kill the entire tree (parent and child proccesses)
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.