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

Command lines interrupted with Ctrl-C are not recorded in the history (TCC...

In TCC 36, a command line that is interrupted with Ctrl-C is not written to the extended history (XHISTORY). In TCC 28, the same command line was recorded in the history log (TCHistoryLog). Command...

View Article


Firefox tricks

Firefox came up with a new look, "Nova". I liked the new tabs and hated the color gradient in the tabs background. Here's a fix (and more) Create the "chrome" directory and "userChrome.css" file....

View Article


$= (elapsed time) in PROMPT always shows 0.000 in TCC 35/36

The $= prompt metacharacter ("elapsed time since the previous command was started") always shows 0.000 in TCC 35 and 36. It worked in TCC 28. Versions: Works: TCC 28.02.18 x64 Broken: TCC 35 and TCC...

View Article

Add a .tccignore File for Automatic File Exclusion

I would like to suggest adding support for a .tccignore file in TCC. The purpose of .tccignore would be to provide persistent, directory-specific file-exclusion patterns for commands such as COPY,...

View Article

Have @LINE return the last line of a file

I'm currently using a UDF to obtain the last line of a file; Code: function LastLine=`%@line[%1,%@lines[%1]]` In the @WORD function, you can specify the rightmost word by setting n to -0. I'd like to...

View Article


Getting the Last Line of a text file

Code: function LastLine=`%@line[%1,%@lines[%1]]` Code: function LastLine=`%@execstr[tail /n 1 %1]` Joe

View Article

Internet Clipboard for JPSoft Customers

Sugessting a text-only Internet Clipboard, exclusively for JPSoft Customers, possibly based on GitHub - alight659/ClipBin: ClipBin - The Secure, Simplest, Fast and Anonymous way of saving and sharing...

View Article

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
Browsing index pages (2267 articles)


Latest Images