Ryan's District Boards

Computer, programming, and webmaster help , support , tips and tricks => Internet webmaster computer programming technology tips and tricks => Topic started by: charleychacko on October 15, 2006, 12:18:23 PM

Title: Quick way to print the directory listing
Post by: charleychacko on October 15, 2006, 12:18:23 PM
Are you looking for a way to print the names of all the files in a particular directory? Well, Windows Explorer does not have an option to do this. But, here's a quick way to do just that:

Go to "Start | Run"
Type

COMMAND /C DIR directory_name >PRN

For example, if you want to print the list of files on your C drive's root directory, type:

COMMAND /C DIR C:\ >PRN

To print the files list on your WINDOWS directory, type:

COMMAND /C DIR C:\WINDOWS >PRN

Press ENTER.