How to Print Folder & File Lists From XP
- 1). Click the Windows "Start" button, select "All Programs," select "Accessories" and then click "Notepad."
- 2). Copy and paste the following text into a blank Notepad file:
@echo off
dir %1 /-p /o:gn > "%temp%\Listing"
start /w notepad /p "%temp%\Listing"
del "%temp%\Listing"
exit - 3). Click "File" in the top menu bar and select "Save."
- 4). Type the following into the "File name" field: %windir%\Printdir.bat.
- 5). Click "Save."
- 1). Click the Windows "Start" button and select "Control Panel," and double-click the "Folder Options" icon.
- 2). Select the "File Types" tab and then click "File Folder."
- 3). Click "Advanced," followed by "New."
- 4). Type "Print Directory Listing" in the the "Action" box, and then enter "printdir.bat" in the adjacent "Application used to perform action" field.
- 5). Click "OK" on each of the next three screens to confirm the changes.
- 1). Click the Windows "Start" button and select "Run." Type "regedit" in the "Open" field and click "OK" to launch the Windows Registry Editor.
- 2). Click the "+" icon located to the left of the top-level registry folder labeled "HKEY_CLASSES_ROOT," and then do the same for its "Directory" sub-folder.
- 3). Click the "Shell" sub-folder.
- 4). Right-click the "(Default)" value on the right-hand side of the window and select "Modify."
- 5). Type "none" in the "Value data" field and click "OK."
- 1). Navigate to the folder containing the list of files and folders you want to print.
- 2). Right-click on a blank area within the folder.
- 3). Select "Print Directory" from the list of options. The contents of the directory are immediately sent to your default printer.