Solved

printing file names to file

Posted on 2006-06-16
1
197 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

cPanel is a Unix based web hosting control panel that provides a graphical interface and automation tools designed to simplify the process of hosting a web site. cPanel utilizes a 3 tier structure that provides functionality for administrators, rese…
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…
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…
Suggested Courses

739 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