TakeCommand, the GUI, is not designed to run in the background. I believe
what you are asking for is to execute a batch file in the background.
Batch files are executed by TCC.exe (or 4NT.exe depending on which version
you're running). To execute batch files in the background requires you to
run another instance of TCC (or 4NT). If there is console output from
your "background" batch execution, you'll want to launch the batch file
using START. If you just want the batch to execute without user
interaction or any display, you can use DETACH.
When you start a program with DETACH, that program cannot use the
keyboard, mouse, or video display. It is "detached" from the normal means
of user input and output. However, you can redirect the program's standard
I/O to other devices if necessary, using redirection symbols. In most
cases, you should only DETACH text-mode programs, since most graphical
applications cannot run without a screen or keyboard, or have their input
and output redirected.
START tcc /c foo.btm
"JP Software Forums" <email@example.com> wrote on 11/12/2008 08:24:13 PM:
> Hi friends,
> I am new in TC, and perhaps this is a stupid question:
> How to run TC in background?
> Like: c:\tc\ycmd.exe c:\tc\any.bat
> but will be executed in background and not in foreground?