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 samintz

  1. samintz

    Save To STDOUT from TCEdit

    BTW - the menu choice is "Save to STDOUT", not "Write to STDOUT" as stated in the help. this also produces nothing: path /n | tcedit | tcedit
  2. samintz

    Save To STDOUT from TCEdit

    According to the help for TCEdit: Piping Input to TCEdit TCEdit supports piped input. For example, "dir | TCEdit" will load the contents of the directory into the first tab window. TCEdit supports piped output with the "File / Write to STDOUT" menu option. This allows you to edit the pipe input...
  3. samintz

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

    You would edit in TCEDIT, then Ctrl+A, Ctrl+C. Then exit TCEDIT. I just showed the steps I take. You would need a waitfor before the do if you were to put that in a BTM or library.
  4. samintz

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

    For a lot of these one-off types of things, I use the clipboard. path /n | tcedit do p in @clip: (set newp=%newp;%p) set PATH=%@right[-1,%newp]
  5. samintz

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

    I assume ESET isn't an option? I use ESET all the time. The downside is cursor movement is terribly slow when you have long paths. But append and prepend are very easy with ESET.
  6. samintz

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

    If you always start TCC from the same place, the _startpath variable could work too.
  7. samintz

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

    I think @Joe Caverly's use of _cmdspec vs COMSPEC is better IMO. COMSPEC is just an environment variable that can be changed even though you are running TCC. The internal variable will always point to TCC.
  8. samintz

    Problem with tab completion

    @pscs Is your script doing something different than what pressing the F7 key does? I can't imagine needing anything special if your tab completion is based on filenames alone. If you need to search metadata and only display files containing certain data that's a different story.
  9. samintz

    Problem with tab completion

    Post your script. Otherwise we're all guessing.
  10. samintz

    Any Workarounds for @if When False Case Generates an Error?

    As Rex mentioned, I would use a Library function.
  11. samintz

    WAD can't override .com file handling like with other extensions

    Working As Designed. I have an old DOS emulator named vDOS. I have no idea where I got it. It uses 4DOS as the Command processor.
  12. samintz

    WAD can't override .com file handling like with other extensions

    Look at the PATHEXT environment variable.
  13. samintz

    COPY to CLIPn:?

    @Joe Caverly wrote a nifty tool to identify the clipboard contents a number of years ago. I have no idea how/if it works with the multiple clipboards. ::------------------------------------------------------- :: CLIPFMT.BTM :: Shows how many different formats are on the clipboard, :: then...
  14. samintz

    Fixed 30.0.19 Update

    When I clicked on "Check for Updates" I got this error when I chose to install the update
  15. samintz

    "grep" using only internals

    out of curiosity, what happens if you use wsl grep?
Back
Top