- May
- 2
- 0
I, along with chatgpt, have beaten my head in trying to get this to work.
Take Command v36 on Windows 11.
I want a desktop/hotkey launcher that:
start "" /max /d "I:\tools\shell\tcmd36" "C:\Program Files\JPSoft\TCMD36\tcmd.exe"
This correctly opens a new TCMD instance/window every time.
However, all attempts to auto-run a.cmd fail unless /T is used, and /T causes unwanted tab reuse.
Attempts that failed:
What is the correct supported way in v36 to launch a NEW TCMD instance whose initial console automatically executes a startup script, without using /T and without attaching to an existing TCMD window?
Take Command v36 on Windows 11.
I want a desktop/hotkey launcher that:
- opens a NEW Take Command GUI instance (not a new tab in an existing instance)
- starts maximized
- auto-runs a startup command script (a.cmd)
- does NOT use /T, because /T reuses the existing TCMD instance as a new tab
start "" /max /d "I:\tools\shell\tcmd36" "C:\Program Files\JPSoft\TCMD36\tcmd.exe"
This correctly opens a new TCMD instance/window every time.
However, all attempts to auto-run a.cmd fail unless /T is used, and /T causes unwanted tab reuse.
Attempts that failed:
- passing "tcc.exe" /K "a.cmd" after tcmd.exe
- TCSTART
- TCSTARTPATH
- /@ini
- //TCStartPath=...
What is the correct supported way in v36 to launch a NEW TCMD instance whose initial console automatically executes a startup script, without using /T and without attaching to an existing TCMD window?