I use TCC 14.02.42 x64 Windows 7 [Version 6.1.7601]
I use Thinkvantage Access Connections (TAC), a nice and handy tool from Lenovo to do some automation when switching the network (e.g. from home to office etc).
TAC can call a batch file when switching connections, but only a bat, not a btm. and it invokes it via CMD.EXE.And it cannot handle Parameters. Stupid, but ok.
So I call tac-test.bat with following content:
"C:\Program Files\JPSoft\TCMD14x64\tcc.exe" C:\Util\tac-test.btm
exit
tac-test.btm has following content:
START "Firefox" "C:\Program Files (x86)\Mozilla Firefox\firefox.exe"
DELAY 10
exit
There is one issue, and I think this is a new issue - I can't remember to have it seen half a year ago.
The problem is, that the tac-test.bat will not close on exit. Instead, it waits until I close Firefox. This is 100% reproducable for me. Interestingly, the icon in task bar of the bat changes.
I see the following output
>>> BEGIN
"C:\Program Files\JPSoft\TCMD14x64\tcc.exe" C:\Util\tac-test.btm
TCC 14.02.42 x64 Windows 7 [Version 6.1.7601]
Copyright 2012 JP Software Inc. All Rights Reserved
Registered to ***MASKED******* - 1 System License
START "Firefox" "C:\Program Files (x86)\Mozilla Firefox\firefox.exe"
DELAY 10
ACR (Component): component init
FoxyProxy Plus settingsDir: C:\Users\MASKED\AppData\Roaming\Mozilla\Firefox\Profiles\MASKED.default\foxyproxy.xml
exit
exit
>>> END
It seems to me like if firefox uses this window for some kind of output and prohibits the closing. This seems to be done by the START? How could I enforce the window to close?
I use Thinkvantage Access Connections (TAC), a nice and handy tool from Lenovo to do some automation when switching the network (e.g. from home to office etc).
TAC can call a batch file when switching connections, but only a bat, not a btm. and it invokes it via CMD.EXE.And it cannot handle Parameters. Stupid, but ok.
So I call tac-test.bat with following content:
"C:\Program Files\JPSoft\TCMD14x64\tcc.exe" C:\Util\tac-test.btm
exit
tac-test.btm has following content:
START "Firefox" "C:\Program Files (x86)\Mozilla Firefox\firefox.exe"
DELAY 10
exit
There is one issue, and I think this is a new issue - I can't remember to have it seen half a year ago.
The problem is, that the tac-test.bat will not close on exit. Instead, it waits until I close Firefox. This is 100% reproducable for me. Interestingly, the icon in task bar of the bat changes.
I see the following output
>>> BEGIN
"C:\Program Files\JPSoft\TCMD14x64\tcc.exe" C:\Util\tac-test.btm
TCC 14.02.42 x64 Windows 7 [Version 6.1.7601]
Copyright 2012 JP Software Inc. All Rights Reserved
Registered to ***MASKED******* - 1 System License
START "Firefox" "C:\Program Files (x86)\Mozilla Firefox\firefox.exe"
DELAY 10
ACR (Component): component init
FoxyProxy Plus settingsDir: C:\Users\MASKED\AppData\Roaming\Mozilla\Firefox\Profiles\MASKED.default\foxyproxy.xml
exit
exit
>>> END
It seems to me like if firefox uses this window for some kind of output and prohibits the closing. This seems to be done by the START? How could I enforce the window to close?