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

CD with wildcards

Discussion in 'Support' started by Rod Savard, Oct 27, 2012.

  1. Rod Savard

    Joined:
    May 26, 2008
    Messages:
    481
    Likes Received:
    3
    This works with CMD and I'm pretty sure it worked with TCC in the past. I'm running 14.02.41 and just noticed it doesn't work. I don't have older builds to try.

    Can anyone else confirm?
     
  2. Charles Dye

    Charles Dye Super Moderator
    Staff Member

    Joined:
    May 20, 2008
    Messages:
    3,307
    Likes Received:
    39
    CD has never accepted wildcards in TCC (or 4NT, or 4DOS.) I'm pretty sure that's by design; nondeterminate changes to the current directory are useless and dangerous.
     
  3. Rod Savard

    Joined:
    May 26, 2008
    Messages:
    481
    Likes Received:
    3
    In a batch file perhaps. At an interactive command prompt it's kind of nice, although in reality it only saves one keypress (TAB).
     
  4. Charles Dye

    Charles Dye Super Moderator
    Staff Member

    Joined:
    May 20, 2008
    Messages:
    3,307
    Likes Received:
    39
    You're aware that you can omit the CD command itself, right? That'll save you three keystrokes: the CD, and the following space.
     
  5. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,859
    Likes Received:
    83
    This is WAD; IMO the CMD behavior of "switch to the random first matching directory, even if there are multiple possibilities, and don't give me any options to select anything else" is ... well, really dumb. And it would mean that you couldn't use TCC's (far more powerful and flexible) fuzzy directory matching.
     
  6. Rod Savard

    Joined:
    May 26, 2008
    Messages:
    481
    Likes Received:
    3
    Yep. But I use CMD quite often as I work on many systems that do not have TCC installed. I don't use that syntax as it obviously doesn't work on CMD.

    Fair enough. Thanks for the replies!
     

Share This Page