Print out contents of NT directory

  twenty47 14:04 09 Jan 2003
  twenty47 14:04 09 Jan 2003

Hi. I have several hundred files on a CD, all same type. Is there a way to print a list of the filenames?


  djwheeler 15:28 09 Jan 2003

Try the following:

Open Notepad, and then copy and paste the following text into Notepad:

@echo off
dir %1 /-p /o:gn > "%temp%\Listing"
start /w notepad /p "%temp%\Listing"
del "%temp%\Listing"

Save the file as Prin.bat in the Windows directory, and then close Notepad.

Start Windows Explorer, click Tools, and then click Folder Options.
Click the File Types tab, and then click File Folder.
Click Edit, and then click New.
In the Action box, type Print Directory Listing.
In Application used to perform action, click Prin.bat, and then click OK.
Click OK, click Apply, and then click OK.
Open Windows Explorer, right-click the folder that you would like to print a directory listing of, and then click Print Directory Listing.

  twenty47 16:23 09 Jan 2003

Thanks for that. However, it just brings up another window of the directory I just right clicked on. When I saved prin.bat I placed it in Winnt because that is the Windows folder on NT. I would like it to print out a listing, if that's possible.

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

WPA2 hack: How secure is your Wi-Fi?

Add Depth Of Field to a photo using Tilt Shift Blur in Photoshop

iPhone tips & tricks

Les meilleures tablettes 2017