Go4Mca

A common place for all the IT Peoples.

Command DOS

This is one command that’s easy to remember and easy to do.

  1. Start the command prompt from Run – cmd. Type cd and the directory path of the folder you want to list.
  2. Type dir > print.txt
  3. Press Enter and exit from the DOS window.
  4. 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:

  1. 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

  2. Save the file as %windir%\Printdir.bat
  3. Open Control Panel – Folder Options. Click on the File Types tab. Under the registered file types select the entry for Folder. Click on Advanced.
  4. 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.
  5. Click on OK and close all boxes.
  6. Right-click on any folder and use the Print Directory Listing command to send the list to the printer.

0 comments:

Post a Comment

Subscribe

Enter your email address:

Delivered by FeedBurner

Leave Your Comments

Search

Blog Archive

Recent Comments

Visitors Location

Recent Visitors