Print directory structure

How would I print out an entire directory structure.
I’ve done it before but I forget how I did it.
Also, does xp still have the ‘expand all’ option?

(I’m on windows mobile 5 so wouldn’t know)

Recent GQ thread on this subject, with various suggestions.

You mean expanding an entire folder tree in Explorer? Just select a folder tree and push the * key on the numpad.

Get yourself a command window

tree >> lobsdirs.txt

Nice directory tree in the lobsdirs text file.