cancel
Showing results for 
Search instead for 
Did you mean: 

Print directory contents

zpeterk
Grafter
Posts: 377
Registered: 14-04-2007

Print directory contents

Apart from dir>prn, how can you print the contents of a directory?

Thanks
2 REPLIES
N/A

Print directory contents

dir >listing.txt or dir /w >listing.txt

this gives you a text file called listing.txt which you can print or import into excel etc
N/A

Print directory contents

and

dir/s > listing.txt

will include the subdirectories and their contents.