PRINT A FOLDER LISTING FROM WITHIN EXPLORER

You can add a useful feature to Windows 98's Windows Explorer that allows you to print a listing of the folder's contents without ever visiting the command prompt.

First, create the following batch file on your computer. (You can copy and paste this text into Notepad.exe.)

@echo off

dir %1 /-p /o:gn > "%temp%\Listing"

start /w notepad /p "%temp%\Listing"

del "%temp%\Listing"

exit

Save this batch file in the Windows folder as List.bat. Start Explorer, click Tools | Folder Options, and select the File Types tab. Click File Folder | Edit | New. In the Action field, type Print Folder List, and in the Application Used To Perform Action field, select List.bat. Click OK to save your modifications.

In Explorer, right-click the Folder To list and select the Print Folder List option. Notepad will open and the list will be printed to your default printer.