Quantcast
Channel: T&T - Miscellaneous
Browsing all 20 articles
Browse latest View live

Win10 inactive window title bar color

Win10 is, out of the box, pretty mellow looking ... except for the default bright white window title bars (active and inactive). You can "personalize" (dialog) the color for active windows, but not for...

View Article



Send SMS from Command Line

Further to https://jpsoft.com/forums/threads/send-sms-from-command-line.8516/ Microsoft used to have a program called SMS Sender back in the Windows XP days. I found a document in regards to SMS...

View Article

Finding Related accounts

No code here, we do this using Excel VBA, but the same approach could be done in TCC. Scenario: Hospital records are downloaded as pipe-delimited single-line text records that contain patient and...

View Article

Using NotePad++ as a (somewhat) IDE for TCC-RT

Requirements: NotePad++ (Notepad++) NppExec Plugin (Notepad++ Plugins - Browse /NppExec at SourceForge.net) TCC-RT (TCC-RT - TCC runtime for Windows batch files) From NotePad++, create the command to...

View Article

Windows tricks

I just discovered these today. 1. Win10's SORT.EXE has an uncocumented "/case" option to make it case-sensitive Code: d:\data\tcclibrary> (echo b^r^nB^r^nA^r^Na) | sort A a b B...

View Article


Global command not working

I have a situation. I have a folder where ill behaved software don't clean up after exiting and leave a lot of .tmp files in various folder levels. I need to backup the folder but without these*.tmp...

View Article

Open UWP apps from the command line on Windows 10

I was looking for a way to open, from the command line, Windows 10 UWP apps. I am referring to Windows 10 UWP apps that are downloaded from the store. While the source code for most of the Microsoft...

View Article

CLS in Windows Terminal

AFAIKT, TCC's "CLS /C" does not clear the whole consle screen buffer in Windows Terminal (as it does in Conhost). The same goes for my FCLS plugin (4CONSOLE). This will clear the window and what...

View Article


Image may be NSFW.
Clik here to view.

Controlling Windows Terminal with KEYSTACK

I have been playing with Windows Terminal. Earlier today I wanted an instance of WSL in a vertically-split pane, next to TCC. That would require opening Terminal's drop-down actions menu...

View Article


Set scrolling region in Windows Terminal

If you want to feel like you're using an antique piece of hardware, try this in Windows Terminal. Code: echos ^e[2J^e[3J^e[2;%@dec[%_rows]r^e[1;1HBanner goes here^e[%_rows;1HStatus line goes...

View Article

Change Default Prompt

I know that in Windows itself you can change the default command prompt so when you execute prompt from the command line you get your own default prompt instead of the default $p$g, However I haven't...

View Article

How do you force copy to over write a file with asking any questions?

I use to be able to copy a file using the switch /y to force it to copy quietly however that doesn't seem to work. I don't see a switch to do that anymore and when I do put it in the copy command TCC...

View Article

Twinkle, twinkle ...

If you're really bored ... Code: setlocal @echo off :: turn the cursor off echos ^e[?25l cls on break quit do forever set r=%@random[0,%@dec[%_rows]] set c=%@random[0,%@dec[%_columns]] :: @char[183] is...

View Article


Image may be NSFW.
Clik here to view.

How does this work?

I can't figure out how this works but it manages to get an escape character into an environment variable in CMD.

View Article

Image may be NSFW.
Clik here to view.

Setting the tab stops in the console

Below: At first the tab stops are 8 characters apart. ^eH sets a tab stop at the current column. So change them to 4 characters apart. There may be easier ways. This is in a console; it also works in...

View Article


TCEdit the CLIPboard

While I have been using TCEDIT for making changes to the %_ininame and the %_tcstart files, and as a STDOUT editor (myfile.btm | TCEDIT) I just discovered that I can use TCEDIT to make changes to the...

View Article

SCRIPT and DynamicWrapperX

Note that you will need to download and install a 64-bit COM DLL for this tip. Your anti-virus program will say that this is a virus/malware/destroyer of worlds, but it is not. I have tested this on...

View Article


Image may be NSFW.
Clik here to view.

ZIP

ZIP will unzip the likes of Code: "Microsoft.WindowsTerminalPreview_1.6.10412.0_8wekyb3d8bbwe.msixbundle" Having done that, it will also unzip Code: "CascadiaPackage_1.6.10412.0_x64.msix" At least in...

View Article

Aligned PDIR listing of just LFN and DESCRIPTION

I was looking for a way to display only the LFN and DESCRIPTION of a file, with alignment. The VIEW command does this nicely, when it receives the output from PDIR via a pipe; Code: pdir /(f %@char[9]...

View Article

Auto-Install TCMD upon Windows 10 Sandbox Logon

Here's how I auto-install TCMD into Windows 10 Sandbox upon Logon; Code: <Configuration> <MappedFolders> <MappedFolder> <HostFolder>E:\Downloads</HostFolder>...

View Article
Browsing all 20 articles
Browse latest View live




Latest Images