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 Charles Dye

  1. Charles Dye

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

    If you're feeling terse, you can omit the CDD and the second percent sign.
  2. Charles Dye

    Question about file name completion

    Hunh, so it doesn't. So much for my little theory.
  3. Charles Dye

    Question about file name completion

    SWAG: The filename completion sees a filename beginning with a dot, and assumes it has a relative pathname?
  4. Charles Dye

    Have WHICH say how it located an external program ...

    But only the one under HKEY_LOCAL_MACHINE, not the one under HKEY_CURRENT_USER.
  5. Charles Dye

    Determine if DIRENV is ON or OFF

    And in answer to the question you did ask: After variable expansion, your command becomes either ECHO OFF or ECHO ON. These two words are handled specially by the ECHO command; see HELP ECHO for details. To work around this ancient misfeature, use a period instead of a space to separate the...
  6. Charles Dye

    Determine if DIRENV is ON or OFF

    Not an answer to the question which you asked, but... Have you tried %@option[direnv]? P.S. Note that %@option[direnv] returns "Yes" or "No", not "On" or "Off".
  7. Charles Dye

    SETDOS /i-COMMAND, OPTION dialog, INIfile, unfortunate interaction?

    FWIW, the exact same thing happens if you disable a command with COMMANDS /D WINDOW, then open the OPTION dialog and click OK. This is nothing to do with SETDOS in particular.
  8. Charles Dye

    Request: @STRIP_ANSI[] function

    No problem. I'd rather do this, than the actual useful work for which I get paid....
  9. Charles Dye

    SETDOS /i-COMMAND, OPTION dialog, INIfile, unfortunate interaction?

    I'm not sure how OPTION would know whether you meant to disable a command temporarily or permanently. All OPTION knows is that the command is disabled now. If you want to set options for future shells, don't use the OPTION dialog. Use Options / TCC on Take Command's menu bar.
  10. Charles Dye

    Command join character variable

    Try %+ It's been deprecated for a while now, but as far as I know it still works.
  11. Charles Dye

    Detect Windows Terminal

    4DOS was the original. NDOS was a licensed, somewhat hacked-up offshoot bundled with the Norton Utilities. Useful, in its day, but it was a very early version and I don't think it ever got any updates.
  12. Charles Dye

    Request: @STRIP_ANSI[] function

    Here's a quick hack. No documentation; I trust you can figure it out on your own.
  13. Charles Dye

    Request: @STRIP_ANSI[] function

    This kind of thing I'm always tempted to do with a plugin — I'm not a regex maven. How exactly do you define an ANSI sequence? ESC [ followed by a series of printables, ending with a letter?
  14. Charles Dye

    Detect Windows Terminal

    @WINSTATE?
  15. Charles Dye

    Windows 11 installer: Default Start menu entry just runs tcc.exe, not tcmd.exe, and only the shell window appears - no menus or GUI interface

    I just updated to Take Command v32.00.15 and double-checked the Start menu shortcuts. The installer created shortcuts to both TCMD.EXE and TCC.EXE. The way the Windows 11 Start menu displays them is pretty confusing, though. The installer creates a "TCMD32" folder and puts both shortcuts...
Back
Top