• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Recent content by TimButterfield

  1. T

    Goto folder in file explorer from the current directory in the tcc prompt

    Yes. It does create a new explorer process that goes away a little while after closing the window. But, even with a dozen Chrome tabs open and an Win10x64 VM running with 8GB of RAM on my Surface Book, which has 16GB of RAM, I have not found that to be a problem. I don't recall this being an...
  2. T

    Goto folder in file explorer from the current directory in the tcc prompt

    I have had this in my alias file for a very long time. .= & ^ iff %@len[%1] GT 0 then & ^ start explorer /e,"%$" & ^ else & ^ start explorer /e,"%_cwd" & ^ endiff At the TCC prompt, type a period (.) and enter or add param.
  3. T

    "less" program that works in TC 18

    I'm not seeing this on mine. When I less in a TCC tab, the file stays until I q to exit. Whether I less file or pipe output to less, both seem to work for me without crashing.
  4. T

    "less" program that works in TC 18

    It's not clear to me which you mean. I normally run my TCC as a TCMD session tab. Are you referring to something different with it not working in TCMD?
  5. T

    "less" program that works in TC 18

    I have a version of GnuWin32 less.exe that is working in my TCC v22 x64. It is version 394.2189.19546, copyright 2005, modified 1/3/2006.
  6. T

    UnLIBRARY command

    It's the pedant in me triggered by my programming background where functions have returned values and procedures or subroutines do not. In C/C++/C#, that would be the difference between void and non-void return values. In VB, that would be the difference between SUB and FUNCTION. I'm also...
  7. T

    UnLIBRARY command

    I kind of view them that way already, as an easier way of doing multi-line aliases. I don't view them as functions as all of my functions return a value. Library functions are more like aliases in that they are commands that do not return a value. The description wording is a bit confusing...
  8. T

    UnLIBRARY command

    Wildcards with /D are fine if you can guarantee locals do not conflict with globals. But, I would find requiring a prefix for everything to be quite the nuisance. For me, I would not likely need an UnLibrary if setlocal/endlocal covered that set as I could then do setlocal library /u /r %0...
  9. T

    BTMs can add/remove their own library functions!

    A Library equivalent for UnAlias /R file would work just fine for my needs whether that is a new command or extending the existing one to allow combining /D and /R. There is disconnect, though. Alias does not have a /D, thus requiring UnAlias. Library does have a /D, which would make an...
  10. T

    BTMs can add/remove their own library functions!

    I was thinking of 'LIBRARY /D file' to delete just the functions defined in that file without having to know the specific names of them or for them to have a common (safe) prefix to delete them. In your prior example, you did a /R on the BTM, but you then had to specifically list those when...
  11. T

    BTMs can add/remove their own library functions!

    It would be nice to have the delete equivalent of LIBRARY /R file. Maybe LIBRARY /D file could delete any functions defined in the file without having to specify the names of each.
  12. T

    interesting TCStarts.btm

    My actual TCStart.btm is only a couple of lines: @echo off call %@path[%comspec]..\DAT\JPStart.BTM My actual TCExit.btm is similarly abbreviated. I have been using TCMD since the 4DOS days. The install directories keep changing with major version included in the folder name and I often have...
  13. T

    How Do I Get Rid of 'Everything'

    Keith, It may be great if you want that functionality. There are many great programs I don't have a need for. My folders are structured in such a way that I usually can find things without having to search for them. At most, I would use a whole drive search maybe once or twice a year. In...
  14. T

    How Do I Get Rid of 'Everything'

    I am another one that prefers for Everything to not be installed with TCMD as I never do fuzzy searches across my whole drive. I really, really, really wish that install selection could persist as some of the others do. When I find it has been accidentally installed, I do the following: run...
  15. T

    GOSUB

    There is also the @unquote function.
Top Bottom