Solved

printing file names to file

Posted on 2006-06-16
1
198 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
It is only natural that we all want our PCs to be in good working order, improved system performance, so that is exactly how programs are advertised to entice. They say things like:            •      PC crashes? Get registry cleaner to repair it!    …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

623 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