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

How to? Rename runs tree

Discussion in 'Support' started by fpefpe, Sep 28, 2012.

  1. fpefpe

    Joined:
    Oct 18, 2008
    Messages:
    251
    Likes Received:
    1
    Hello --

    I noticed that when I issue the rename command on a folder, the
    tree command is issued like this:


    tree /c "O:\Software-Tools" >! "C:\DOCUME~1\Frank\LOCALS~1\Temp\REN41.tmp"


    I this how rename worked on directories?
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,855
    Likes Received:
    83
    Not sure why you'd notice (or care) what was being done in the background, but it doesn't have anything to do with the actual renaming of files or directories. That command is updating the JPSTREE.IDX file after a folder is renamed.
     
  3. fpefpe

    Joined:
    Oct 18, 2008
    Messages:
    251
    Likes Received:
    1
    Thanks for the info ... I am trying to track down why my environment variables are reverting back to the initial values (the ones saved in the registery) ... I am tracing everything to see what might be changing them ... also what does the ">!" do for the redirection?
     
  4. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,941
    Likes Received:
    30
    It does that here too, and I do not have descriptions enabled. Is that right?
     
  5. Steve Fabian

    Joined:
    May 20, 2008
    Messages:
    3,520
    Likes Received:
    4
    Using the exclamation mark ! after the redirection symbol, e.g., >!, just allows modifying a file which would be protected by the "NoClobber" feature. See Help -> Redirection -> NoClobber.

    Vince, I have no idea what you meant.

    Rex, is /C an undocumented option of TREE for internal use? Its redirected output seemed to be identical to that of /B.
     
  6. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,855
    Likes Received:
    83
    It doesn't have anything to do with descriptions, it's for the fuzzy directory list.
     
  7. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,855
    Likes Received:
    83
    It's undocumented for internal use, and I'm not going to provide any details on its output.
     
  8. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,941
    Likes Received:
    30
    Fuzzy is disabled (0) too. Should it be happening?
     
  9. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,855
    Likes Received:
    83
    Yes. But if you don't have a JPSTREE.IDX, it won't do anything.
     
  10. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,941
    Likes Received:
    30
    Can I suppress it?
     
  11. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,855
    Likes Received:
    83
    No. (It's been doing it for the last 10+ years, and doesn't seem to have caused you any harm!)
     

Share This Page