[TCC-RT] Console-less script runner

Aug 23, 2010
The idea sparkled after recalling the php-win.exe existence.

The basic idea is this:
1. Same basic functionality as existing tcc.exe. This means same program switches accepted (only relevant ones recognized, as it is for RT's tcc.exe, but all accepted)
2. No STDIN (obviously). This means the descriptor is closed and any attempts of the script to read from it should fail immediately.
3. STDOUT is discarded (there's no console, nowhere to display it).
4. STDERR is captured.
5. If anything is captured from STDERR, a MessageBox with captured content is shown when script finished or certain buffer length (~250 chars) is exceeded.

The application area is various utility scripts you may be running, perhaps from hotkeys, that would otherwise flash console windows or require wrapping into .lnk with "run minimized" setting.
May 20, 2008
Syracuse, NY, USA
If you have EDITBIN.EXE (Visual Stidio) you can make your own ... just change TCC.EXE (or a copy) from subsystem console to subsystem windows.
Similar threads
Thread starter Title Forum Replies Date
Joe Caverly Have TCMD/TCC support registered version of V Suggestions 12
R Talk to Amazon about having TCC-RT available on AWS Suggestions 0
Joe Caverly Launch TCC Tab with different date/time Suggestions 0
R Option to add tcc to Bash profile Suggestions 1
mfarah Declined Implement an "Add TCC to the task bar" in the TCMD installer. Suggestions 2
L Done Suggestion for TCC 'ver' command Suggestions 8
R TCC instance-specific clipboard Suggestions 0
M Declined DST date difference explorer/TCC Suggestions 2
Joe Caverly Declined 32-bit out-of-process servers from 64-bit TCC via PSHELL Suggestions 0
Joe Caverly Add a "Snippet" Menu to CMDebug and TCC Debugger Suggestions 0
Joe Caverly Add example .BTM code to TCC Debugger and CMDebug Suggestions 1
thorntonpg Done Goto folder in file explorer from the current directory in the tcc prompt Suggestions 7
R Done System variable with TCC folder path Suggestions 8
rps TCC/TCMD instance expansion - TCC/TCMD info functions Suggestions 2
M TCC Install Updates Taskbar Link Suggestions 1
R Done Switch between TCC and RT on same PC Suggestions 1
rps Done TCC count internal variable Suggestions 12
G Declined make tcc being more "4dos" and win x64 faster Suggestions 7
rconn Some ideas related to TCC instances (limit, enumerate etc) Suggestions 0
rconn Declined Allow TC/TCC direct access to WinSock and other networking Suggestions 0
rconn Done extend tcc file format Suggestions 0
Roedy Done TCC Window title Suggestions 0
newbie Done Remove TCC from Cntrl-Pnl Recommended list Suggestions 10
R Declined REQ: Fullscreen mode for tcc. Suggestions 12
E Done TCC User/Administrator level in title bar Suggestions 2
R Declined TCC on a stick & PortableApps Suggestions 0
nickles Declined FR: New icon for TCC Suggestions 1
M Done Add a update command to TCC Suggestions 2
P Done Have option not to pause TCMD console output when mouse is clicked elsewhere Suggestions 0
S Retrieve previous prefix matched word from console buffer Suggestions 1
S Declined SIMPLE text editor for console mode Suggestions 1
rconn Highlight output in the console Suggestions 0
rconn Declined Console logging Suggestions 1
rconn Text folding and editing in TCMD's console view Suggestions 0
Charles Dye Declined High-order console attributes Suggestions 0
Stefano Piccardi Done attaching invisible console windows Suggestions 0
K Done Alt-Enter to toggle 'full-frame' mode for console tab in TakeCmd Suggestions 1

Similar threads