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

    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
  2. 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...
  3. 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
  4. 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 ...
  5. 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
  6. 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...
  7. 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...
  8. 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...
  9. 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
  10. 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...
  11. Joe Caverly

    Easy way to get the directory where the current TCC.EXE resides?

    @vefatica said: @setlocal @echo off path /n | tcedit waitfor tcedit endlocal Ref: WAITFOR - Wait for an app to exit or wait for input idle Joe
  12. Joe Caverly

    Easy way to get the directory where the current TCC.EXE resides?

    Hey @vefatica, Could you do something like this; path /n | tcedit Modify the path in TCEdit, save to STDOUT, and then do something with it? Joe
  13. Joe Caverly

    Easy way to get the directory where the current TCC.EXE resides?

    Not a solution, but from 2014... https://jpsoft.com/forums/threads/remove-a-semicolon-separated-directory-from-the-path.5867/#post-34330 Joe
  14. Joe Caverly

    Easy way to get the directory where the current TCC.EXE resides?

    E:\Utils>echo %@path[%_cmdspec] C:\Program Files\JPSoft\TCMD32\ Joe
  15. Joe Caverly

    ESearch

    ESearch is an alias that uses Everything Search to display the location of a file(s). esearch="C:\Program Files\JPSoft\TCMD%_vermajor\es.exe" /a-d -whole-word %1 Examples; Display location of all .rexx files; E:\Utils>esearch *.rexx C:\cygwin64\usr\share\regina-rexx\examples\animal.rexx...
Back
Top