1. Click Start, All Programs, Accessories
2. Right-click Notepad and select “Run as Administrator”
3. If User Access Control is engaged, click Continue.
4. Paste in the following text:
@echo off
dir %1 /-p /o:gn > "%temp%\Listing"
start /w notepad /p "%temp%\Listing"
del "%temp%\Listing"
exit
5. Click File, Save As, and enter the following text in the Save As field:
%windir%\Printdir.bat
6. Click Save, and then exit Notepad.