Command DOS
This is one command that’s easy to remember and easy to do.
- Start the command prompt from Run – cmd. Type cd and the directory path of the folder you want to list.
- Type dir > print.txt
- Press Enter and exit from the DOS window.
- Open the folder you wanted the listed file content for and you should see a print.txt file. This is a simple Notepad file that can be copied or printed easily.
Setting A Contextual Menu
A print directory feature can be added to the right-click context menu for a folder. This sends the folder content list directly to the printer. For Windows XP follow these steps:
- Create a batch file in Notepad by pasting the following text
@echo off dir %1 /-p /o:gn > “%temp%\Listing” start /w notepad /p “%temp%\Listing” del “%temp%\Listing” exit
- Save the file as %windir%\Printdir.bat
- Open Control Panel – Folder Options. Click on the File Types tab. Under the registered file types select the entry for Folder. Click on Advanced.
- In the Edit File Type box, click on New. In the Action box, type Print Directory Listing. In the Application used to perform action box, type printdir.bat.
- Click on OK and close all boxes.
- Right-click on any folder and use the Print Directory Listing command to send the list to the printer.
0 comments:
Post a Comment