Easy(?) computer Q

How do I print a listing of a directory in XP :confused:

a buddy wants a list of all my (legally obtained :rolleyes: ) mp3’s… but I can’t figure out a way to print out the directory (short of typing it all out in a text file or ‘print screening’ 30 times… :smack: ) …

Can anyone help?

if you have Winamp - go to the playlist/misc options/generate html playlist.

You can open a DOS prompt window by typing “command” in the Start->Run: dialog, and then redirect the output of the dir command using the greater-than sign, as follows:



**C:\MP3\>**  dir > songlist.txt


Also, many software packages like WinAmp can also generate a playlist as a .TXT or HTML file.

To add to what Jurph said, do “dir /?” to get options of how to display, hide or sort various details.

that did the trick, Thanx! :slight_smile: … I ~was~ using Winamp 3 :smack: …upgraded to Winamp 5 seconds ago… however… I could not find a way to save the playlist as a .txt file or .html file… the file it saves it as IS readable w/ Wordpad… but your method makes a much easier to read file. Thanx again!

At karenware.com there is a freeware directory printer. That works well, too.

There is also a great free program called, “rjhExtensions” that gives you to ability to right click on a folder and select “print directory list”. It will also give you options for saving the directory list as well as renaming multiple files into sequential order, file encryptor, file duplicator, file shredder, dos prompt (to the folder you are in) and path to clipboard. It’s a great little utility and highly configurable.

Another way to do it with DOS:

C:\whatever\music > tree /f > files.txt

It’s like dir, but a more purty.

Hey, wow, I never knew about that command! That’s fantastic!!! (and boy does it send me back to reminiscences of messing about with ASCII codes to make pretty lines & boxes…)

How about printing other lists in Windows? Your Favorites, the dropdown list of recent site visits at the Address line in the browser, etc. Can’t use the Printscreen key, can’t highlight and copy–can’t search either.

Signed, grumpy prior DOS user

Favorites lists are shortcut files on yor harddrive. Look under the Documents And Settings folder and your name, and you should find them. Then you can use the redirected dir technique.

The bare switch is a winner:

C:\Music>Dir *.mp3 /b > List.txt

Sure you can!

Dropdown list of recently visited URLs is in a registry key; go into regedit and use the search function to find the string you’re looking for. You can export a group of registry keys as a .TXT from the file menu.

Your favorites are stored at **C:\DOCUME~1\USERNAME\FAVOR~1**, where I’ve assumed “C” is your system drive. Typing “tree” gets you a list of your favorites (although they’re sorted by the name you give them, not by the address they point to), and from there you can pipe ( >, not | ) them to a file.

IE stores its favorites in a folder. In WinNT/2K/XP type cd %userprofile%\favorites then run the dir commands other people have posted. In Win9x use cd c:\windows\favorites or equivalent.

The address dropdown list is stored in the registry key HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\TypedURLs. You can dump this to a text file with the command regedit /E c:\list.txt "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\TypedURLs"