Quantcast
Channel: Take Command / TCC
Browsing index pages (2260 articles)
↧

Image may be NSFW.
Clik here to view.

_thread_result

The help for the THREAD command (THREAD - Execute a command in a separate thread.) states that; THREAD will set the internal variable _thread_result to the return value of command. Click to expand......

View Article


Internet Clipboard

I use Clipb.in to share portions of text via the Internet. File2Clipb.in.btm will take the contents of a text file, and post it to ClipBin - Share Code or Text Instantly Code: @SETLOCAL @ECHO OFF if...

View Article


Image may be NSFW.
Clik here to view.

TCC 36.52.88 Standalone - TCEdit Entry Point Error...

This error has been occurring for a few builds now. I have tried a clean re-install of TCC making sure the folder has been removed before re-installing and I get the same error. Screenshot of error:

View Article

Image may be NSFW.
Clik here to view.

Display an ANSI file on the TCC screen using UTYPE

Code: utype /cp:437 SHUTTLE2.ANS Code: R:\AnsiScreenDemo>which utype utype is a plugin command (TextUtils) Ref: TextUtils Plugin Ref: Using TYPE to display an .ANS file Ref: Display an ANSI file on...

View Article

Image may be NSFW.
Clik here to view.

Display an ANSI file from PowerShell 5.1 in Windows Terminal

Code: function Show-AnsiFile { param( [Parameter(Mandatory = $true)] [string]$Path ) $cp437 = [System.Text.Encoding]::GetEncoding(437) $text = [System.IO.File]::ReadAllText((Resolve-Path -LiteralPath...

View Article


Image may be NSFW.
Clik here to view.

Using TYPE to display an .ANS file

The TCC TYPE command can be used to display the contents of an .ans file to the TCC screen. Code: type shuttle.ans One can also display an .ans file using CSharp code. Ref: Display an ANSI file on the...

View Article

Image may be NSFW.
Clik here to view.

Display an ANSI file on the TCC screen

Here's some ANSI art displayed on the TCC Console. The image was created using the theDraw MS-DOS program from 1999, with the image saved in the file shuttle2.ans C# Code was then used to display the...

View Article

Copy command in BTM file fails occasionally

I have a simple BTM file to copy two Outlook '.ost' files to a backup folder - an excerpt of the file is shown below. Sometimes it runs fine, at other times, it only copies one of the two '.ost' files....

View Article


Using Pointers in a .NET plugin

I've been learning about how to use pointers in .NET code. Using pointers (part of standard C) in .NET code is known as unsafe code. Unsafe code in C# allows direct memory manipulation using pointers,...

View Article


.exe files from compiled with some compilers do not start from the tcc...

Hello, Is this maybe some known issue? 1. Compiled with Borland C++ e-bor.exe = starts foobar.exe in JPSoft tcc.exe? YES 2. Compiled wit CLang version 19 e-clang.exe = starts foobar.exe in JPSoft...

View Article

Issue with "npm help"

The npm.cmd command is part of Node Package Manager and Node 24.3.0; A generated file on PATH: Code: @ECHO off GOTO start :find_dp0 SET dp0=%~dp0 EXIT /b :start SETLOCAL CALL :find_dp0 IF EXIST...

View Article

Image may be NSFW.
Clik here to view.

In TCEdit, make Block comments the same colour as single line comments

In TCEdit, single line comments are green. It would be great if block comments could also be green in colour, instead of white in colour. Joe

View Article

TCC "time /s" disables token privileges

Hi, This has been tested with TCC 36.52.88. In TCC executing the internal TIME /S command changes the enabled state of privileges in the TCC process token. Before executing TIME /S, whoami /priv...

View Article


TC Pseudoconsole

Hello, I just tried to download&run take command, but the window was all white and didn't graphically update. I discovered the Options->Take Command->Advanced->Pseudoconsoles option and...

View Article

Problems displaying UTF8 characters in tcc 32

I have a small program written in Go, that needs to display matrices. On linux in bash, the special characters display as large matrix brackets. And on Win 11, stand-alone (detached) cmd.exe, these...

View Article


TCC takes exactly one minute to open (with a licence)

Approx 3 - 6 months ago, I've updated TCC from TCC22 to TCC/34/35/36 (due to continued development). I've now applied the latest version of TCC: 36.52.88 When I open TCC it takes exactly one minute to...

View Article

PShell and In-Process Pipes

From a freshly started stand-alone TCC 36.52.88 x64 in Windows 10 [Version 10.0.19045.7663] Chomp is contained in my PowerShell 5.1 profile; Code: E:\Utils>pshell /s $Profile...

View Article


LIBRARY /N but from a specifc LIBRARY

I have several library files; Code: C:\...\library>dir /b astronomy.library bookmarks.library calc.library cmdx.library datesubs.library dbf.library fb.library hb.library myhelp.library...

View Article

Convert Clipboard contents to a continuous string

If the Windows clipboard contains x number of lines of text, Clip2String.ps1 will convert the lines of text on the clipboard to a continuous string Code: R:\>echo Line1^nLine2^nLine3 > clip:...

View Article

Get-Clipboard returns $null causing problems with PShell

This works from PowerShell 5.1 Code: PS R:\temp> get-content function:tcc & "C:\Program Files\JPSoft\TCMD36\tcc.exe" /I /Q /C $args PS R:\temp> PS R:\temp> tcc "echo Line1^nLine2^nLine3...

View Article
Browsing index pages (2260 articles)


Latest Images