I was looking for this solution, I am already doing this but it does not
do as I was expecting. I played with different parameters, at certain point it started working also but I changed something and it stopped working.
Now I see at startup tcmd opens these windows, it flashes briefly and goes away, these never gets attached to the shell container.
Any help is appriciated.
My TCmd.ini file looks as follows.
I have clobbered the user name and password below for Vista UAC.
The C:\Users\sguha\TCmd\tcstart.bat file contains loading of a alias file. alias /r c:\Users\sguha\4nt\alias1.txt
Charles Dye wrote:
| ---Quote (Originally by sguha)---
| * Command=C:\Users\sguha\TCmd\tcstart.bat*
| ---End Quote---
| I believe that those Command= directives should contain filenames of
| executables, not batch files. You can specify a startup batch file
| (or other command) using the /K option:
| * Command=c:\bin\tcmd\tcc.exe /k C:\Users\sguha\TCmd\tcstart.bat*
As Charles wrote, "command" must specify an executable, with optional
parameters. Furthermore, if the executable is TCC.EXE, and there is a
TCSTART program in one of the expected places, it will automatically execute
TCSTART.xxx (where xxx must be BAT, CMD, or preferrably BTM), so you don't
need to specify it explicitly.
Read the HELP topic "autobatch.btm" regarding the search path. Read also
topics "4ntbat.htm" and "batchtype.htm" to see the effect of using .BAT
extension instead of .BTM extension.