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

Suggestion: VIEW option to open VIEW over tab window but not keep it there

The /w option to VIEW is interesting. It is probably useful that when you use it from a Take Command tab and switch tabs, VIEW hides. But, when I change the focus to a different app by moving the...

View Article


@replace[search,replace,object]

I am trying to repeat the @replace[1,2,whatever] until 1 is not found in whatever. I looked at rereplace but that doesn't solve my needs. Is there an internal way to do that or maybe a plugin?

View Article


EXE file detail fields

Is there a way to retrieve all the verinfo[whatever.exe,descriptor] fields?

View Article

How is KEYBD implemented? (I want to send a RESET command to the keyboard).

KEYBD can programmatically set the three lock lights and disable/enable the keyboard. I've spent a while looking up the PS/2 keyboard protocol for an issue I am dealing with, and I would bet good $$$...

View Article

minor difference, cmd vs tcc

@echo off :: FOR /F "usebackq tokens=3" %%i IN (`REG QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v CurrentBuild 2^>nul`) DO SET /A "CurrentBuild=%%i" echo CurrentBuild from registry...

View Article


How do I make TCC use pwsh.exe instead of powershell.exe?

pshell and @pshell[] both run %systemroot%\system32\windowspowershell\v1.0\powershell.exe. Is there a way to make TCC (30.00.20.x64 on Win11 10.0.22621.2134) look for pwsh.exe? Thanks, Felix.

View Article

@EXECSTR has trouble with Unicode when n < 0

@EXECSTR doesn't appear to recognize UTF-16 output when n < 0 and //UnicodeOutput=No : Code: C:\>ver /r TCC 30.00.22 x64 Windows 10 [Version 10.0.19044.3324] TCC Build 22 Windows 10 Build 19044...

View Article

Add inversion to FFIND's text searches (/T and /E) ...

... and return only lines that don't match. Grep uses -v, findstr uses /V. FFIND doesn't have good letters available. Is /- a possibility? See this for background.

View Article


Image may be NSFW.
Clik here to view.

1431 emoji environment variables for your echo'ing convenience

I wanted to have environment variables like %EMOJI_BROCCOLI% to use for emojis. For reasons. I spent way too long programmatically generating these in python. In the end, I created a file (emoji.env)...

View Article


working with arrays

Code: SETLOCAL setdos /x-1256789A if not isdir .\test\ md .\test\ setarray /f info[10,1] set info[0,0]=CompanyName set info[1,0]=FileDescription set info[2,0]=FileVersion set info[3,0]=InternalName...

View Article

Help Nit: TMP in v31

Hi @rconn; Just got my upgrade registration key for CMDebug Version 31.0 Thanks for adding the TMP pseudo-character devices to TCC. In the help for v31, it says; What's New in Version 31 New Commands:...

View Article

Error in readme.txt for v31

The most minor of nits: "What's New in Version 30" should say 31.

View Article

Image may be NSFW.
Clik here to view.

[v31.00.9] Inkey with /W no longer works properly!

Code: INKEY /K"cd" %%test works, but not ... Code: INKEY /K"cd" /W5 %%test And I have a lot of scripts with /W like the following ... Code: inkey /k"cq" /w5 "c": continue; "q": quit ("c" after 5...

View Article


Everything /o errors

Code: C:\>*everything /o TCC: (Sys) The system cannot find the file specified. "C:\Program Files\JPSoft\TCMD31\EVERYTHING64.EXE" C:\>ver TCC 31.00.9 x64 Windows 10 [Version 10.0.19045.3448]

View Article

How to get Windows version

The internal variable %_winver used by Take Command / TCC is useless because it returns 10.0 on both Windows 10 and Windows 11. This is Microsoft's fault, but the question remains: how do I determine...

View Article


Take Command / TCC / CMDebug / TCC-RT v31.0.10 uploaded

I have uploaded v31.0.10 to the web site. 31.0.10 EVERYTHING - Fixed a problem with /O 31.0.10 HASH - Fixed a problem with /S 31.0.10 INKEY / INPUT - Fixed a problem with /W when combined with /K...

View Article

Add info to VER command in help

Please add; The internal VER command looks at the build number - if it's >= 22000, then it's Windows 11. Click to expand... to the VER command in help. Ref: How to get Windows version Joe

View Article


SDK QPuts or Command

As I continue to learn more about using the functions in TakeCmd.dll with PureBasic, I was wondering what the advantages are of using QPuts instead of Command for displaying output. As an example,...

View Article

Image may be NSFW.
Clik here to view.

Can you use escape characters (^t, ^r, ^n ...) with PRINTF?

I tried the more obvious things. None worked. The second one below had a surprising result.

View Article

Creating a plugin without TakeCmd.lib using PureBasic

Thanks to a person who goes by the handle of yuki on the PureBasic forum, I now have an alternate method of creating a plugin for TCC using PureBasic. Ref: External .LIB compiles with ASM Backend, but...

View Article
Browsing all 1743 articles
Browse latest View live