Recent content by forbin

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

    Deepest First

    Oops! Forgot all about the follow-up once I got it working. Here's the finished product; hope it helps someone when they need it! Enjoy!
  2. forbin

    Deepest First

    Hahaha! But sometimes, they are! C:\Dir\Whatever> TREE /b
  3. forbin

    Deepest First

    Hmm. DIR /a:d /s /f gets the intermediate directories but picks up "." and "..". Adding /h makes it lose the intermediate directories. Funny, I've been using JpSoft products since the days of 4DOS and I never noticed that! Thinking aloud here, I can easily strip out the dots. But that leaves...
  4. forbin

    Deepest First

    That's pretty good, but it has a slight flaw. The DIR command will output only the leaf directories. For example, it would have a line for "C:\Users\Name\My videos" and "C:\Users\Name\Documents" (if those had no nested subdirs), but would not show a line containing only C:\Users\Name (assuming I...
  5. forbin

    Deepest First

    I'm definitely going to at least rewrite it as a BTM, using the approach you suggested. I just now mistyped a command using the alias implementation, and it wouldn't break in the middle for me. Fortunately, it was only a minor thing and no harm done, but it was a warning call: get rid of the...
  6. forbin

    Deepest First

    I've got a small alias, "deepestFirst", that I probably should bulletproof before it goes off the rails and kills something! It's defined as: deep*estFirst=`for /L %ii in (32,-1,0) do (set ret=%@EXEC[ global /h /i /S+%[ii] /S%[ii] %$ ] )` Its purpose is to allow executing a command (or group)...
  7. forbin

    Optional ANSI(32|64).dll for Win 10 >= Creators Update

    Here is the list from Microsoft regarding the internal version numbers: https://msdn.microsoft.com/en-us/library/windows/desktop/ms724832%28v=vs.85%29.aspx Notice, however, what they said about manifests, which has to do with how an application is built. I would assume that later versions of...
  8. forbin

    Optional ANSI(32|64).dll for Win 10 >= Creators Update

    PS: as I mentioned on another thread, I've found a workaround, at least for pre-v21 versions of TakeCommand. This reduces the urgency of the requested feature. I still think it would be a good feature to have, because the user might not want to disable ALL of Windows 10's ANSI support, which...
  9. forbin

    Take Command (Environment) doesn't show v2 ANSI colors

    Mine definitely is. However, I've found a workaround! It turns out that you can disable ANSI processing within Windows 10 Creator, using a registry setting. In HKEY_CURRENT_USER\Console, there is a REG_DWORD setting called "ForceV2". Set it to zero and reboot. Restart TCmd or TCC and...
  10. forbin

    Optional ANSI(32|64).dll for Win 10 >= Creators Update

    My laptop just finished updating to "Crater" edition :eek: a couple of days ago, and it is now interfering with my fancy prompt and some of my "dressier" batch files. Rex, please do add a switch that causes TCmd / TCC to stop using the new built-in Windows ANSI support, and override it with the...
  11. forbin

    Useful short aliases

    My version of "math" is called "dc" like in Unix (dc = desk calculator)... it repeats the expanded version of what you entered, plus a formatted EVAL: dc=`echo %=t %$ = %@COMMA[%@eval[%$]]` For C/C++ programmers who are always jumping between related directories, the following set is useful...
  12. forbin

    Fixed OSD /C has no effect

    Where's my manners? Rex, I forgot the most important part! Thank you for fixing this tiny bug!
  13. forbin

    Fixed OSD /C has no effect

    Rex, I'm in group "1b" -- I want to know when errors occur, but want to be able to suppress them in the odd cases where I know the error is spurious or harmless. So I like the "/e" flag, and sometimes rarely I'll redirect stderr if I know the error is expected and harmless. I believe I...
  14. forbin

    WAD IDE /C does not accept truename of future file

    16 bit editor? And I thought I was old-school! Still using Brief perhaps?
  15. forbin

    Fixed OSD /C has no effect

    Rex: that makes two of us! :confused: (Sorry, Vince! Just not following you... unless maybe your point is that it's not showing escaped characters the way you'd expect?) If the choice is between showing escaped characters or showing leading whitespace by backquoting, then I can see it...