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

What could be causing %3$ to not work?

Pretty simple situation, just testing command line parameters to try to use some smarter methods. But they aren't working for me. Script: Code: @echo off echo 3- is %3$ echo -3 is %-3$ echo # is %#...

View Article


can a .BAT file know the name of the .BAT file that called it?

A very meta situation. Without changing the calling BAT file, I am wondering if the called BAT file can identify which BAT file called it.

View Article


Using the Help in Version 30

I'm trying to adjust to the radical difference between HELP in version 30 and HELP in the version I've been using for several years (27). I have several questions: Is there documentation for the new...

View Article

What's With the Tutorials Page?

I just visited the tutorials page (jpsoft.com/tutorials/), and no matter which tutorial I click on, I get a "404" error.

View Article

The CLIP Command

Now I'm trying to understand the new (since version 27) CLIP command, and I'm puzzled. The help specifies the following format: CLIP [/C clipn: /R n /S clipn: /Z text] This suggested to me that one can...

View Article


Avoid Continued Lines In Source Code

To avoid long, continued lines in your source code, consider breaking down your code; Code: @setlocal @echo off COMMENT _x64: 1 _admin: 1 _elevated: 1 TCC 30.00.18 x64 Windows 10 [Version...

View Article

found batch line continuation bug??

Maybe, maybe not, but it sure seems so? It probably has to do with my oddball choice of escape character. But basically, both test4.bat and test5.bat should execute without error. But test5.bat does...

View Article

incompatibility of tcmd 30 and vim9

Back in 2019, I reported that tcc while attached to tcmd makes Vim unusable. The cursor position and location of where characters are inserted are not the same. That seemed to have been fixed for a...

View Article


CPU usage in prompt, color/behaviour-configurable prompt system

I've never seen anyone else with TCC have CPU usage incorporated into their prompt Just kidding: I've never seen anyone else with TCC :) I thought I'd share my Code: prompt-common.bat that I've been...

View Article


extract email addresses from FROM, TO, CC, and BCC in EML files

Code: [C:\Users\csgal\OneDrive\Desktop\Export]tpipe /input=*.eml,255,1 /simple=28 /output=output.txt The filename, directory name, or volume label syntax is incorrect. "*.eml" Any idea what i am doing...

View Article

Image may be NSFW.
Clik here to view.

Buttons missing from Help

When using TCC, I press F1 and it brings up the Help program. The minimize, maximize and close buttons are not there: But, if I put the mouse cursor over the spot where the button is supposed to be,...

View Article

MOVE /DD

The help for MOVE, in part says: MOVE command - Move files to a new directory /DD When used with /S, SYNC will delete any empty subdirectories It is not clear if it means empty subdirectories in the...

View Article

Image may be NSFW.
Clik here to view.

Take Command 30 LE?

I started TCMD.EXE v30 for the first time and this registry key was created. What's up with that?

View Article


Ctrl-F?

Does Ctrl-F do anything in v25? The reason I ask is ... I have a plugin keyhandler which uses Alt-F to open the console's "Find" dialog. It works fine is v24 and v25. If I change the key to Ctrl-F it...

View Article

Help flashing?

In a console, do this repeatedly: issue "HELP" and if the help gets foreground/focus, click in the console. I find that the click is needed every second time and that every other time, the console...

View Article


Reprise of Question About SENDHTML's /Image Option

The question about what the /image option of the SENDHTML command does and/or how it is supposed to be used was never answered. It does not seem to do anything, and, contrary to the help, more than one...

View Article

Comments re Clipboards

1. The help file entry for the TYPE command should be updated to mention that it works not only with CLIP: but with the numbered clipboards as well. 2. The help should somewhere note that redirection...

View Article


Image may be NSFW.
Clik here to view.

highlight.bat - does exactly what it says, highlights text. Grep-ish...

It's easy to hightlight text with sed! Code: echo duck duck goose duck duck | sed '/goose/,${s//\x1b[1;33;41m&\x1b[0m/g;b};$q5' So make a bat file out of it! Code: @echo off sed...

View Article

List file names with relative path and size information

Hello I need to list file names with relative path and size information. dir /s /f produces almost what I need, but there is no size information and the path is full rather than starts with the...

View Article

Application Error - 1000 TCMD30 WIndows 10

This is the first version that has crashed on me. I do not have a crashlog in the programdata folder structure. All I see are these from Event Manager. I - <Event...

View Article
Browsing all 1689 articles
Browse latest View live