Solved

printing file names to file

Posted on 2006-06-16
1
193 Views
Last Modified: 2012-08-14
Hi
I can't remember the command to create a text file of a directory list - please could someone enlighten me

thanks
0
Comment
Question by:lz7cjc
1 Comment
 
LVL 4

Accepted Solution

by:
DarkXiphoid earned 50 total points
ID: 16918901
Quick and dirty dos command:

DIR /S | FILELIST.TXT

or try this:

The Dos Tree command.

Tree \ (directory) /f >treelist.txt
For example I have Dos folder with a sub-folder. This command lists
the folder and the sub-folder and all the files in both into the
file Treelist.txt. You can then edit/view/print the file.
Tree \dos /f >treelist.txt

To display the results only to the screen try this:
Tree \dos /f |more

The | pipe symbol is the shifted \ key. More is used instead of /p
to pause each screen full so you can view it.

To display only the directory tree with no files omit the /f.

From a Dos prompt enter  Tree /?  for more info.

else: use freeware like

PrintFolder 1.1a
http://no-nonsense-software.com/freeware/

MaxLister 2.31
http://www.acc.umu.se/~max/maxlister/index.html 
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

We have adopted the strategy to use Computers in Student Labs as the bulletin boards. The same target can be achieved by using a Login Notice feature in Group policy but it’s not as attractive as graphical wallpapers with message which grabs the att…
If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now