Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Recent content by Joe Caverly

  1. Joe Caverly

    Open Help File at Keyword Index

    To open the TCC Help file at the keyword index; *help hmkwindex Joe
  2. Joe Caverly

    add %@drivemediatype and %@drivebustype variable functions

    @mdlawler if you are referring to dtype.btm, the source code for dtype.btm is here. Joe
  3. Joe Caverly

    add %@drivemediatype and %@drivebustype variable functions

    Related: Determine if a file is on an SSD drive Joe
  4. Joe Caverly

    fast way to count the number of running processes for a specific program

    Yes, there is; E:\Utils>timer echo %@pid[msedge.exe,+] ^n %@fields[%@pid[msedge.exe,+]] 8668 19044 18444 19460 19588 20280 13356 13120 13204 12348 20348 21128 22368 9312 26480 25216 23504 10040 10644 15836 25184 21 ADDED: Timer 1 off: 18:31:49 Elapsed: 0:00:00.007 Joe
  5. Joe Caverly

    fast way to count the number of running processes for a specific program

    E:\Utils>echo %@pid[msedge.exe,+] 8668 19044 18444 19460 19588 20280 13356 13120 13204 12348 20348 21128 22368 9312 26480 25216 11480 Is there a way to count all of the pids for msedge.exe? Joe Ref: @PID TCC internal variable function
  6. Joe Caverly

    Copy poblem

    While copydir is not in your version of TCC/LE, you could download and install TCC-RT, and run the copydir command from TCC/LE, using TCC-RT. "C:\Program Files\JPSoft\TCC_RT_32\tcc.exe" /Q /C copydir Usage : COPYDIR source destination Joe
  7. Joe Caverly

    TCMD31 in Windows 10 Sandbox

    Still not able to use PShell in Windows Sandbox. [C:\Program Files\JPSoft\TCMD32]powershell -command date Saturday, April 27, 2024 9:06:49 AM [C:\Program Files\JPSoft\TCMD32]pshell /s "date" PSHELL: The library file is missing or specified functions can't be found. [C:\Program...
  8. Joe Caverly

    AppPaths entries can be aliases

    Tcc.exe is the executable name for Take Command Console, and for Tiny C Compiler. Tnyc.exe differentiates between the two. I could have just used a Take Command alias instead. Joe
  9. Joe Caverly

    AppPaths entries can be aliases

    Indeed. TinyC is started by running tcc.exe. Which is why I have it set in App Paths as tnyc.exe E:\Utils>regdir /v /d HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppPaths\tnyc.exe HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\tnyc.exe : REG_SZ ...
  10. Joe Caverly

    TCC v32: Parsing IF %@exec[command | command] == 0 ...?

    This works; E:\Utils>echo %@if[%@exec[echo foo | findstr foo] == 0,yes,no] foo yes E:\Utils>ver TCC 32.10.21 x64 Windows 10 [Version 10.0.19045.4291] Joe
  11. Joe Caverly

    TCC v32: Parsing IF %@exec[command | command] == 0 ...?

    I got the same results as you in However, if I use TCC-RT; E:\Utils>tccrt ver TCC-RT 32.10.21 x64 Windows 10 [Version 10.0.19045.4291] E:\Utils>tccrt if %@exec[echo foo | findstr foo] == 0 echo yes foo yes E:\Utils>which tccrt tccrt is an alias : "C:\Program...
  12. Joe Caverly

    Saving TCEdit Settings

    I have posted a suggestion for this, but until it is implemented, this is the manual method I am using. Using RegEdit, I export, to a .reg file, the contents of the key; Computer\HKEY_CURRENT_USER\SOFTWARE\JP Software\TCEdit 32.10 Posting for my future reference, but others might also be...
  13. Joe Caverly

    Save To STDOUT from TCEdit

    Now I remember. I was using the SPFLite2 Editor. SPFLite2.exe -clip ...starts the editor with the clipboard contents. When I use the SAVE command, it automatically updates the Windows Clipboard with the changes I have made. So, Save to STDOUT in TCEdit might just be non-conforming...
  14. Joe Caverly

    Save To STDOUT from TCEdit

    I was pretty sure I used it when it was introduced. I've tried it with TCC versions 28 to 32, and no-go. I cannot remember how I did this. Hoping @rconn can advise. Joe
  15. Joe Caverly

    Save To STDOUT from TCEdit

    _x64: 1 _admin: 1 _elevated: 1 TCC 32.10.20 x64 Windows 10 [Version 10.0.19045.4291] BuildNumber Caption CSDVersion OSArchitecture Version 19045 Microsoft Windows 10 Pro 64-bit 10.0.19045 Well, I'm pretty sure that I have done this...
Back
Top