file manager

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?REtQ?=

    file manager

    I need to make a list of all folders, sub folders and file names on my hard
    drive.

    I cannot use just the print screen as it does not allow enough length. Is
    there a solution to this or do I have to manually write one up in excel or
    something.
  • John Timney \(MVP\)

    #2
    Re: file manager

    Just use a recursive loop to write the list to a text file. Heres a
    recursion example to get you started.



    Regards

    John Timney (MVP)




    "DKP" <DKP@discussion s.microsoft.com wrote in message
    news:5E4ADBA9-7149-4149-A4D2-54D23C63A58D@mi crosoft.com...
    >I need to make a list of all folders, sub folders and file names on my hard
    drive.
    >
    I cannot use just the print screen as it does not allow enough length. Is
    there a solution to this or do I have to manually write one up in excel or
    something.

    Comment

    • C-Services Holland b.v.

      #3
      Re: file manager

      DKP schreef:
      I need to make a list of all folders, sub folders and file names on my hard
      drive.
      >
      I cannot use just the print screen as it does not allow enough length. Is
      there a solution to this or do I have to manually write one up in excel or
      something.
      To get a treeview just open a commandbox (start->run->cmd) then type tree c:
      If you want to capture this to a file type
      tree c: c:\tree.txt
      This wil generate a tree of the c: drive to a textfile called tree.txt
      in the root of c:. You might want to use
      tree c: /a c:\tree.txt
      as this will not use special characters to indicate the treelines.


      --
      Rinze van Huizen
      C-Services Holland b.v

      Comment

      Working...