Question:

Quick way of making the list of all the folders in my system

by  |  earlier

0 LIKES UnLike

I want the list of all the folders and files of certain folder in my system,

I want the out put in excel on notepad,

can some one tell me how it can be done quickly.

 Tags:

   Report

4 ANSWERS


  1. Go to the command prompt. CD to the correct directory and type 'tree > out.txt'


  2. tree > out.txt gives you output in hierarchical form but their may be some problem with fonts settings in that if you want to paste it in excel  , sure you can use this command or you can try this too at command prompt

    dir /b /s > out.txt


  3. please read once while typing the question  

  4. I guess the short answer to your questions is it can't be done quickly.

    To get a list of all folders in your computer into excel you would have to create a Visual Basic script that did that (that means a few hours of typing, testing and debugging) and then you would have to also format the output of the information to be saved as a txt file (and if the amount of information is considerable notepad won't open the file, it will ask you to open Wordpad).

Question Stats

Latest activity: earlier.
This question has 4 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.