November 20, 200421 yr I've found quite a nice bunch of plugins that retrieve file and folder listings. Lauch.it 2 and File Manipulator. Launch.it 2 is almost there but what I want to do is beable to create a tree listing of the directory so instead of listing all the files you can as with any file explorer display folders. Does any one know of anything like this? Thanks
November 20, 200421 yr Sure. Make a batch file called, say, treedir.bat, which contains the line: tree /F %1 Add a field to your layout called, say, treedir, just text to hold the drive and directory you want to tree. Make a script called, say, DisplayDirectoryTree, with the line: Send Event | Calculated | "d:/filemake/treedir.bat" & " " & Calctest2::treedir & " | more " (obviously putting in your path to the batch file and substituting your table name for Calctest2 (which is just my experimental file). Notice the pipe at the end to more the text--otherwise your tree will just fly by.
Create an account or sign in to comment