It ain't easy, try
THIS or
THAT.
There are a bunch of $0 -$30 programs available if you need to do this often. GOOGLE Print +Directory +XP.
If you don't need to do this often try this DOS method;
RUN command
type in
CD C:\ <enter>
CD <whatever dir you want> <enter>
DIR >somefilename.txt <enter>
EXIT
Open Windows Eplorer
Look in the directory for somefilename.txt, open file, edit and print..
/ubbthreads/images/graemlins/dedhorse.gif DOS LIVES!!!