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

Suggestion for V11

Discussion in 'Suggestions' started by Jim Cook, Jun 3, 2009.

  1. Jim Cook

    Joined:
    May 20, 2008
    Messages:
    604
    Likes Received:
    0
    .) I renew my request to have the ability for DIR /S to sort the
    entire list together instead of first by folder.

    .) I would like the ability to display relative/based (a limited form
    of /F) paths for DIR /S that would start with the path specified and
    only show subfolders from there -- not the entire path.

    If the current folder had two sub folders, one of which had its own
    sub folder, a DIR /S would show:

    file1
    sub1\file2
    subsub1\file3
    sub2\file4

    If I did DIR /S SUB1\* it would show

    sub1\file2
    sub1\subsub1\file3

    --
    Jim Cook
    2009 Saturdays: 4/4, 6/6, 8/8, 10/10, 12/12 and 5/9, 9/5, 7/11, 11/7.
    Next year they're Sunday.
     
  2. Charles Dye

    Charles Dye Super Moderator
    Staff Member

    Joined:
    May 20, 2008
    Messages:
    3,307
    Likes Received:
    39
    * An option for INPUT /E and ESET to pre-select the default value for overtyping. (Can do it now with KEYSTACK ! SHIFT-END, but that's clumsy at best, and in TCmd 9/10 it's downright ugly.)

    * Speaking of which, KEYSTACK ! hasn't worked for a while. Is it no longer technically feasible?

    * Don't disable directory colorization with DIR /F or DIR /B /S. TCC always detects redirection correctly AFAIK, and in the unlikely event it doesn't there is always /D.

    * Add a VARS keyword for tab completion of environment variables. (Might also be handy to have ALIASES, FUNCTIONS, etc.? How about INTERNALS?)

    * A @REGREN function to rename registry keys/values

    * Would it be possible to redefine Take Command's 16-color palette? On a per-tab basis? On the fly?

    * Plugin API: Give plugins easy access to TCC's enhanced wildcards, ranges, /S etc.?

    * Plugin API: Give plugins access to internet-files capabilities?

    * HELP, F1, Ctrl-F1: Recognize plugin commands/variables/functions, and dispatch to the plugin for help?
     
  3. Jim Cook

    Joined:
    May 20, 2008
    Messages:
    604
    Likes Received:
    0
    .) Make SETLOCAL/ENDLOCAL work from the command prompt

    --
    Jim Cook
    2009 Saturdays: 4/4, 6/6, 8/8, 10/10, 12/12 and 5/9, 9/5, 7/11, 11/7.
    Next year they're Sunday.
     
  4. Steve Fabian

    Joined:
    May 20, 2008
    Messages:
    3,520
    Likes Received:
    4
    Jim Cook wrote:
    || .) I renew my request to have the ability for DIR /S to sort the
    || entire list together instead of first by folder.
    ||
    || .) I would like the ability to display relative/based (a limited form
    || of /F) paths for DIR /S that would start with the path specified and
    || only show subfolders from there -- not the entire path.
    ||
    || If the current folder had two sub folders, one of which had its own
    || sub folder, a DIR /S would show:
    ||
    || file1
    || sub1\file2
    || subsub1\file3
    || sub2\file4
    ||
    || If I did DIR /S SUB1\* it would show
    ||
    || sub1\file2
    || sub1\subsub1\file3

    Concur. Same for PDIR too, of course. Add additional switches for /O: p
    (path, relative or absolute); in PDIR, report field numbers, including
    multiple sort key specification based on report fields (key evaluation
    should be based on report fields, including embedded spaces and other
    special characters if applicable).

    PDIR options:
    .) new field q, qp and qn - same an f, fp, and fn, but always enclosed in
    quotation marks
    .) new subfield for f and q: r = relative path: fr, frn

    --
    Steve
     
  5. Steve Fabian

    Joined:
    May 20, 2008
    Messages:
    3,520
    Likes Received:
    4
    Charles Dye wrote:
    || * A @REGREN function to rename registry keys/values

    * findfirst/findnext type search of registry allowing all keys to be found

    * @regkeytype - return a code to indicate type of registry key
    --
    Steve
     
  6. Rod Savard

    Joined:
    May 26, 2008
    Messages:
    481
    Likes Received:
    3
    Add the "cdspell" feature of bash (cd spell correction).
     
  7. samintz

    samintz Scott Mintz

    Joined:
    May 20, 2008
    Messages:
    1,190
    Likes Received:
    11
    Not to poo-poo your ideas, but all modern versions of Windows from Win2K
    on, have the external application REG.EXE that can do all that. While I
    understand that there are purists out there who think that it's better if
    it's built-in to TCC, functionally it's exactly the same.

    And with V10 of TC you now have array support to hold the output as well
    as the "/P command" switch in DO.

    By the way, there is no native API that I know of to rename a registry
    key. As far as I know, you need to copy the key to the new name and then
    delete the old one.

    -Scott


    Steve F畸i疣 <> wrote on 06/03/2009 02:05:36 PM:


    found

     
  8. Steve Fabian

    Joined:
    May 20, 2008
    Messages:
    3,520
    Likes Received:
    4
    samintz wrote:
    || Not to poo-poo your ideas, but all modern versions of Windows from
    || Win2K
    || on, have the external application REG.EXE that can do all that.
    || While I understand that there are purists out there who think that
    || it's better if
    || it's built-in to TCC, functionally it's exactly the same.
    ||
    || And with V10 of TC you now have array support to hold the output as
    || well
    || as the "/P command" switch in DO.

    Sorry, I was not aware of anything but REGEDIT, which is GUI. Yes, REG.EXE
    may be sufficient, I need to dig into it.
    --
    Steve
     
  9. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,860
    Likes Received:
    83
    Steve Fbin wrote:


    Not sure how useful that would be, given that there's already a Windows
    external to do that.


    How would that differ from the existing @REGTYPE?

    Rex Conn
    JP Software
     

Share This Page