How do I print out a list of files on a CD-ROM?

At work, I’ve been given a CD-ROM with bunch of files on it in a whole large tree of folder and sub-folders.

I would like to be able to print out a list of all of the files on the CD, prefarably listing the whole tree structure.

I’ve tried to do this in Windows Explorer (I’m using Windows XP), and it doesn’t seem to have any facility to print out a file list, much less the whole tree.

How can I do this? Thanks.

Agent Ransack should do what you need - and it’s a handy piece of free software anyway.

Open a command-prompt and type

DIR (drive letter) /s > c:\sample.txt

So for example, if your CD-ROM drive is f:, the command would be:

dir f: /s > c:\sample.txt

The /s switch is needed to recurse subdirectories and the path and\or filename can be anything you’d like, although I find it’s easier just to put it in the root of C:

Once the cursor reappears, close the command-prompt. You can then open the TXT file with NOtepad, Wordpad or Word.

:slight_smile:

Rex told you what you need to know, but if you want additional formatting options, type
dir /?

For example, if you add the /b option, you will get a simplified listing that doesn’t include file size, just the name.

This is a great free program.