DonationCoder.com Software > Finished Programs
SOLVED: ReOpenDitto
Contro:
I need Ditto.
Provisionally I would need a script for :
Kill the task
ditto.exe
Reopen Ditto or execute again
I have the application as portable in
Y:\DittoPrg\DittoPortable3.16.8.0\Ditto\Ditto.exe
So I would a coding snack able to kill a process (taskkill.exe /im ditto.exe /f
and then open again the application
I have tried with a bat. But for me is difficult to close the command window after.
I suppose with AHK is more easy.
I would like a script to solve this situation.
Best Regards
:-*
P.D. I need all this because I have an interaction problem with Ditto and other scripts. Sometimes occurr. And is impossible for me to be without Ditto.
Reopening solves the problem.
I don't need a resident script.
Ath:
Put an 'exit' as a last line in the .bat file...
Contro:
I have tried that with my goldmine , but the black window remain until I am out of Goldmine.
@echo off
taskkill.exe /im gmw5.exe /f
Y:\GoldminePrg\gmw5.exe /i:esm /u:JOSE /p: /m:Y:\GoldminePrg\Macros\pep0.849
exit
:(
With AHK must be easier. Please the code.
Ath:
Put the command 'start' in front of the goldmine command, and a space after it. It'll start as goldmine a separate 'thread' and the batchfile will exit.
AbteriX:
If you just start something from an batch, the batch is waiting for the end of that program.
So take a look at the 'Start' command. (C:\>start /?)
@echo off
taskkill.exe /im gmw5.exe /f
START Y:\GoldminePrg\gmw5.exe /i:esm /u:JOSE /p: /m:Y:\GoldminePrg\Macros\pep0.849
Navigation
[0] Message Index
[#] Next page
Go to full version