Rename an NTFS stream?
I thought I asked about this recently but I couldn't find such a discussion. Can REN rename an NTFS alternate data stream? (COPY and DEL works.) Code: v:\test> d /: 2023-03-25 13:10 0 file.txt 5...
View ArticleDEPUPE Crashes and Takes Out The Current TCC Session With It
If I run: DEDUPE /S /V H *.* A:\ DEPUPE crashes and takes out the copy of TCC that it is running on. My guess is that running "/S", on the root of a drive "A:\" and "*.*" (basically everything on the...
View ArticleSyntax for SFTP Data in FTP.CFG File
I have successfully made regular FTP connections from the command line with explicit connection data and with data obtained via the FTP.CFG file, but I cannot get SFTP connections to work. What is the...
View Article"copy" command crashes
Hello — this was unexpected — I just ripped cd’s to FLAC on one computer — no issue, then copied the files to a usb drive so I can move them to the computer I have my music on plugged in the USB and...
View ArticleCommand/Batch File to Get Public IP Addresses
Does anyone have a command or batch file that gets one's external IP addresses? There are lots of websites that will display the information, but extracting the data does not look like an easy task....
View ArticleCan PRE_EXEC refer to the about_to_be_executed command line?
I got the bright idea of using the PRE_EXEC alias to replace the current command line with itself followed by a timestamp, something like this (with some paraphrasing) Code: alias pre_exec `echo...
View ArticleStarting TCC/LE Windows 10
I've got TCC/LE running fine on my Windows 11 machine. Installing it on a Windows 10 machine, it runs, but doesn't automatically run TCCSTART.BTM on startup. (All my startup does is load my alias.lst,...
View ArticleBookmark directories (util)
I want so share a couple small btm files for bookmarking directories. They work like this: First we set a bookmark with bm.btm [c:\projects]bm proj This sets a bookmark named proj that points to the...
View ArticleHow to add a ruler to the screen on Windows 10
This is a configurable screen ruler for measuring in pixels, centimeters, inches, points and percent. Screen Ruler Configurable screen measuring tool for Windows bluegrams.github.io Source code is...
View ArticleDO default order is /o:a and not /o:e (like stated in the help)
The help file states for the DO command (seems to be copy/paste from every other command like DIR): /O:... Sort the files before processing. n Sort by filename and extension, unless e is explicitly...
View ArticleHow to suppress JSON error messages?
(Using current latest TCMD on Win10 x64) I'm reading variables from a JSON file with Code: SET variable=%@JSONXPATH[/json/test/[1]/element] This works just fine. If the element doesn't exist TCC writes...
View ArticleNetwork problem with TCC29
I just installed TCC29 Trial on a new Windows 11 Pro Mini Pc. Next I mapped a directory of my NAS to Windows drive Z and I see the contents of drive Z in Windows Explorer and can access it in a normal...
View ArticleWork with %'s in git
I have a Python script I have to work with that has this code: Code: cmd = 'cd {} && git log -1 --format="%aN <%aE>" -- {}'.format( dir_name, script_name) last_author_output =...
View Articlelocation of ini file
I think I am missing something here ---- I updated the take command shortcut to specify the location of the INI file to use, but using the process explorer, I see that tcmd has the full path of the ini...
View ArticleWhere's the User Manual(s)
I've been happy with my old TCmd V11, I've just installed the trial version TCms 29, This v29 is obviously very different from tat old v11 And I can't find the very basic: How & where to use...
View ArticleTEE in @EXECARRAY in a library function?
This works on a command line. Code: echo %@execarray[a,cscript //NoLogo u:\vbs\tlhelper.vbs | tee t:\execarray.tmp] If I do this in a library function Code: if %@execarray[s,cscript //NoLogo %vbsfile |...
View ArticleTwo queries about Windows 10 oddities.
I'm curious about two things. First, how many instances of fontdrvhost.exe show up in Windows TaskMgr? I see one. TASKLIST reports two (so does WMI and ProcessExplorer). Code: v:\> tasklist |...
View ArticleAnother use for PRE_EXEC
I've been playing with PRE_EXEC lately. Two uses that have been discussed are placing a command timestamp on the command line and starting a command timer which could read (@TIMER) in POST_EXEC. I have...
View ArticleBTM file closes TCC
If I run the following btm file in a TCC window, the window closes after the error message is displayed. You don't need the G file. The point is it doesn't exist. Code: *on errormsg cancel *setlocal...
View ArticleCan InitializePlugin() tell if TCC is starting?
Can InitializePlugin() tell the difference between TCC starting up and the plugin being loaded at some later time? I suppose I could compare the current time to TCC's startup time, and if it's...
View Article