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

How do you CD to the directory in the List View?

Discussion in 'TCC/LE Support' started by mcsuman, Apr 24, 2010.

  1. mcsuman

    Joined:
    Apr 7, 2010
    Messages:
    16
    Likes Received:
    0
    Is there an environment variable or function that shows what folder is selected in the List View?
    I see that I can copy the directory in the List View and insert it into the command line to effect a CD, but isn't there a more direct way to do this?
     
  2. Charles Dye

    Charles Dye Super Moderator
    Staff Member

    Joined:
    May 20, 2008
    Messages:
    3,307
    Likes Received:
    39
    You want the %_TCFOLDER variable:

    alias there=`cdd "%_tcfolder"`
     

Share This Page