Quantcast
Channel: Take Command / TCC
Browsing all 1677 articles
Browse latest View live
↧

Handle a terminating error (exception) within a scriptblock

While TCC already has ON ERROR, enhance TCC with an additional means to trap and handle errors. I suggest a TRY CATCH FINALLY exception handling syntax, similar to what C# and other languages have. Joe

View Article


Keystroke for Horizontal Group

Is it possible to attach a keystroke to Horizontal Group? The Customize dialog only lists "Tab Groups" under Commands.

View Article


KEYSTACK - cannot send AltGr characters

I have a problem using KEYSTACK to send characters produced by the Alt Gr key. For example: Code: [C:\]keystack "@£$€{[]}\" [C:\]2£4€7890+ It sends the key that would have been produced without AltGr...

View Article

TASKBAR

Code: _x64: 1 _admin: 1 _elevated: 1 TCC 28.02.18 x64 Windows 10 [Version 10.0.19043.1415] I was attempting to use the following options for the TASKBAR command, but they do not work on my system;...

View Article

Parameter-handling discrepancy in debugger when stepping

In the following example: The main routine gets the first batch parameter and strips it off. It then calls SUBR, which does the bulk of the work. SUBR calls SUBR2, which gets the next batch parameter...

View Article


Question on NOT traversing subdirectories with DO

I don't know whether this is intentional DO behavior. The documentation states that the /D option (specify a starting directory) is for use with the /S option (traverse subdirectories). The /D option...

View Article

Debugging .btm with >3 arguments fails on step.

Code: C:\batch]type foo.btm @ echo off do until (%1) == () echo parm is %1 shift enddo echo at end Code: [C:\batch]foo one two three four five parm is one parm is two parm is three parm is four parm...

View Article

PSHELL not working in TCC 26

Cant get Pshell or @pshell to work... I suspect a path error, but it looks correct to me. I always get the following message: pshell /s "d:\utils\Toast.ps1" (I've tried with and without the double...

View Article


Nested setlocal gives problems with aliases resolving in DO /P

There is a problem when we used nested setlocal. We have two batch files DO_P.btm Code: setlocal echo OsBuild=%_OSbuildEx which cl_grep cl_grep call dummy.btm set...

View Article


FIXNames

if a filename has either ( or ) it causes TCC/TCMD to double quote the name; Hence I think it would be nice if Fixnames would replace either char with maybe _ please. Version I am using: F/V: 0.28.0.0...

View Article

CALL ... SETLOCAL/ENDLOCAL ... DO ... alias expansion glitch?

@niros deserves credit for discovering this one. I just whittled it down. I don't know if it's a bug but it sure is strange. Below (third snippet), the DO command works before the CALL to DUMMY.BTM and...

View Article

(Very) Small Difference in Batch Parameters %* and %$

$* the complete command tail, unmodified by SHIFT %$ the complete command tail, modified by SHIFT We do not uses SHIFT very often so we mixed up these two parameters. On one occasion its was fatal.. It...

View Article

Escape sequence for BEL (@CHAR[7])?

I've been messing with VT control sequences in the newly-enhanced (?) Windows console. One can use OSC (operating system command) sequences (initiated by ^e]) to remap the 16-color palette and set...

View Article


tcc.exe /c whatever/... triggers debug messages

TCC 27.01.24 x64 TCC.EXE /c whatever/... triggers a sequence of message boxes, which I assume are for jpsoft internal development purposes GetCommandLine()=<path>TCC.EXE /c whatever/... OLE &...

View Article

Image may be NSFW.
Clik here to view.

Display problem with Unicode/UTF-8 Characters

Hi, I've hit a problem when doing work involving Unicode/UTF-8 characters in filenames. In a TCC window, using the Consolas font, but defaulting I think to an ANSI/CodePage system for foreign...

View Article


Where/How do I get Vince Fatica plugins?

Hi, I notice that Vince has a new site. How do I access it? Note, I am in Australia and have previously had issues accessing his previous site. I have recently upgraded to a new Win10 x64 machine/Tcmd...

View Article

Take Command on Windows 11

I have an older TC & I'm happy with it.. I installed it on my new Windows 11 system and i't sort of works.. One annoyance, Win 11 always asks if I want to allow it to run. Is there a way to stop...

View Article


Issue With Pasting ClipX Clipboard Items into TCMD

I've encountered this problem for years and finally decided that I should ask/report about it. I use the ClipX clipboard history manager. It saves a history of clipboard entries and allows them to be...

View Article

How do I use UNTAR?

I have only tried the obvious: Code: v:\from_barnyard> untar vefatica.tar .\untarred\ TCC: (Sys) The system cannot find the file specified. ".\untarred\" The directory .\untarred does exist. The...

View Article

Checking for UNC path readiness

In TCC version 16, @ready[\\myserver\c$] returned 1 if myserver could be reached on the network, even if it hadn't been authenticated yet. Now in TCC version 28 (the latest), it returns, "The parameter...

View Article
Browsing all 1677 articles
Browse latest View live