Quantcast
Browsing all 1685 articles
Browse latest View live

Grab list of files then pass filenames on the command line

Grab list of files then pass filenames on the command line -- preferably on the same command line! Does anyone know of a convenient "coding metaphor" or pattern for doing the following? Assume I have...

View Article


Enhance DIR Command

Yo should add a /FULL qualifier to the DIR command. It should work like the DIRECTORY /FULL command in DCL, the OpenVMS command line interpreter. I.e., the /FULL qualifier should list all of the...

View Article


New Command to Update a File Timestamp

You should create a new command to update one or more of a file's timestamps. The default behavior (without any command qualifiers) should be to make sure that the file's Create Timestamp is no later...

View Article

Enhance COPY Command

I would like you to enhance the COPY and DIR commands to o this: COPY /UF and COPY /U should always use the Modify date in order to determine whether or not to copy a file. Sometimes when I use COPY...

View Article

Can't interrupt EVERYTHING's output with Ctrl-C

In v24, I can interrupt EVERYTHING's output with Ctrl-C. I can't interupt EVERYTHING's output in any later version.

View Article


Someone posted ColorPrompt.btm and a Q

Someone had posted the above fille and it CALLs SetVar_sh.btm which was not included. Would like to have it posted please...

View Article

Interesting TPIPE sort algorithm artifact

The TPIPE documentation states, "You can specify multiple filters, which will be processed in the order they appear on the command line." Oh, good: I can specify multiple sort fields. The only thing to...

View Article

Add /UNELEVATED to START

I used to think that starting an unelevated process from an elevated process was impossible ... later, that it was hard (a lot of COM). But I recently found this code (from Raymond Chen). It's very...

View Article


unelevate possibility?

If I'm running a tcc window that is elevated with full admin privileges, and want to execute a command that's "unelevated" (doesn't have the full admin privileges), how might I do that? I know how...

View Article


Alias or Environment Variable -- is one better?

In a batch file, I can do this: alias wrar = "C:\Program Files\WinRAR\Rar.exe" a -r -idcdp -m5 -rr10 Then when I want to create a RAR archive I can just do: wrar archivename I can also do this: set...

View Article

Call a batch file with variable?

I'm doing call %ANDROID_SIGNER% sign -v ...etc where ANDROID_SIGNER is set ANDROID_TOOLS_PATH=%ANDROID_SDK_PATH%\build-tools set ANDROID_TOOLS_VER=29.0.2 set...

View Article

IF ISNUMBER ... ?

Is there a simple way to determine if a string will represent a number when passed to @EVAL? If there is, I missed it. If not, it would be useful

View Article

Run TCC scripts on a non-TCC computer ?

Apologies, first of all - I am SUCH a noob ! Q1 - I have a task I want to automate on my clients' PCs– I already have a script embedded in the backup routine, it creates a file – ‘backup verify...

View Article


Everywhere is already installed

Hello everybody. I have a problem that won't let me install TCC. Everything search service is already installed on my machine, so while installing TCC I choose "Do not install Everything Search"....

View Article

TCC: C:\TC28\TCSTART.btm Take Command is not loaded

When I start TC v28 my TCSTART.btm gives me an error: ============================= TCC: C:\TC28\TCSTART.btm [5] Take Command is not loaded TC28 C:\TC28 >tcstart TC28 C:\TC28 >...

View Article


New plugin: mksc

I've uploaded a (sorta) new plugin, mksc. This comprises the MKSC command and @SCINFO function from my existing UIStuff plugin, with many updates and new features. Basically, MKSC does all those little...

View Article

COPY from FTP to HDD .... ( prospero.unm.edu )

Code: copy /a: /e /f /g /md /nr /s /u /v /w "ftp://prospero.unm.edu/*" /[! src/* *.exe version.sav ] %sRootFldr%\prospero.unm.edu\ results in: Code: TCC: C:\TCMD\MyBTM.btm [51] F TCC: (Sys)...

View Article


Command echo in the window caption.

The shell's window caption echoes commands from TCStart.BTM I have several questions about that. - Where in the HELP is this documented? - Does this (still) serve any purpose? If so, what purpose is...

View Article

TITLE broken in v28?

All my TCCs (24~28) have UpdateTitles=No and they use the same TITLEPROMPT. In v24~v27, this changes the title for 15 seconds. In v28 it does nothing. Code: title foo & delay 15

View Article

A safe %@FILETEMP[prefix?] with CREATE_ALWAYS, ATTR_TEMP, and DELETE_ON_CLOSE

I really wish I had this for safe temp files. prefix just for an Optional prefix for the actual filename for debugging. In a perfect world there is also a: %@TEMPFILENAME[number?, [c]reate?]. Given an...

View Article
Browsing all 1685 articles
Browse latest View live