Click here to Skip to main content
Licence 
First Posted 16 May 2000
Views 101,220
Bookmarked 26 times

VBScript directory crawler

By | 16 May 2000 | Article
A VBScript program that can recursively walk directories and also create a true working tree (good for printouts)
  • Download source files - 1 Kb

    Sample Image - walker.jpg

    This VBScript can be used in a number of ways. At its heart, it's a simple directory tree walker. I wrote it originally as a DevStudio macro to clear out all the big leftover files in the debug and release folders. I added a bit of code to it on a whim to make it to indent the subfolders and add the various lines so that in the end it looks similar to the left hand frame of explorer. This can then be piped to a file and printed (have you ever wanted to print out a directory tree? I know I have.)

    I have commented where you could put code to do things like clear out temp files, whatever.

    Enjoy :)

  • License

    This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

    A list of licenses authors might use can be found here

    About the Author

    Ron Olson

    Web Developer

    United States United States

    Member



    Sign Up to vote   Poor Excellent
    Add a reason or comment to your vote: x
    Votes of 3 or less require a comment

    Comments and Discussions

     
    You must Sign In to use this message board. (secure sign-in)
     
    Search this forum  
     FAQ
        Noise  Layout  Per page   
      Refresh
    GeneralDocument Properties help PinsussLen Inkster8:40 26 Jul '05  
    GeneralRe: Document Properties help PinsussMathew Gorge21:28 27 Jul '05  
    QuestionWhy it Fails? Pinmemberdougcranston4:50 27 Feb '03  
    AnswerRe: Why it Fails? PinmemberJim Smith8:09 15 Oct '04  
    GeneralRe: Why it Fails? Pinmemberdougcranston8:18 15 Oct '04  
    GeneralRe: Why it Fails? PinsussAnonymous14:32 14 Sep '05  
    GeneralShow pictures from a dir on a html-page PinmemberPBA0:43 20 Feb '02  
    GeneralSearchinf for a particular extension using VBscript PinsussGnanavel20:42 9 Oct '00  
    GeneralRe: Searchinf for a particular extension using VBscript Pinmemberdzb0078:21 24 Nov '00  
    GeneralNice! + More on scripts PinsussPhilippe Lhoste22:59 23 May '00  

    General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

    Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

    Permalink | Advertise | Privacy | Mobile
    Web02 | 2.5.120517.1 | Last Updated 17 May 2000
    Article Copyright 2000 by Ron Olson
    Everything else Copyright © CodeProject, 1999-2012
    Terms of Use
    Layout: fixed | fluid