How to? Rename runs tree

Oct 18, 2008
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?
Oct 18, 2008
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.

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?
May 20, 2008
Elkridge, MD, USA
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.
Similar threads
Thread starter Title Forum Replies Date
Joe Caverly Rename file that begins with Emoji Support 7
C Documentation Help Nit. REN / RENAME Support 0
C How to? rename files with spaces Support 8
R How to? Replace in Rename Support 9
Phileosophos WAD Can't rename files in subfolders Support 1
P Rename files with ampersand in the name Support 1
C How to rename files with "(" Support 14
M How to? File rename problem... Support 11
D Folders pane display problem after rename Support 0
JohnQSmith Slow network directory rename Support 8
JohnQSmith Folder pane right-click rename Support 2
samintz Regex Rename Support 2
A Rename Files in Chronological Order? Support 5
nikbackm Rename TC tab from command line Support 0
S How to? Runs start /w in invisible mode OR run program after exit of another one Support 3
thorntonpg TCC_RT_21\tcc.exe runs tcstart Support 4
M TCC no longer runs after installing TC 17 Support 22
forbin Fixed OSD runs out of resource Support 15
vefatica Killing command line FOR which runs a batfile? Support 9
R Tree on FAT32 does not sort by name by default. Support 6
rps TREE /w Alt-F2 Support 1
CWBillow Copy a tree Support 17
D Fixed Minor problem: output not alligned in the tree command Support 1
C Suggestions for Compare Folder Tree routine Support 5
M How to? Find out the total allocated size of a directory tree... Support 7
M How to? File and dirctory counts in a tree... Support 2
Frank mirror directory tree and preserve directory timestamp Support 3
CWBillow Sync Folder Tree and Command Window? Support 11
J directory tree - move or copy Support 3
D Copy directory tree without repeating directory name Support 32
MBaas GUI-Tool for "File/Open" or tree (for use in batch-files) Support 3

Similar threads