Google

Wednesday, January 2, 2008

How to Print a Folder (Directory) Listing



Print a Folder (Directory) Listing







How to Print a Folder (Directory)
Listing

The following instructions explain how to print a
folder listing directly to your printer or to copy the listing to a text
file that you can open (and format) in a text editor or word processor
before printing.

Printing a List of Files Directly to Your
Printer



  1. Exit to a command prompt by clicking Start on the Taskbar and
    choosing Programs, then Command Prompt.
  2. To print a list of files in a folder on your computer's hard disk,
    type the following command at the prompt (e.g., C:\>), replacing
    c:\folderpath with the full path to the folder you want to print
    (e.g., c:\MyFiles). (See also NOTE, below.)

    dir c:\folderpath >
    prn:


  1. Tap the ENTER
    key.
  2. Most likely the list won't print until you initiate a form feed on
    your printer. On an HP laser printer, press the On Line button
    and then the Form Feed button. When the list has finished
    printing, press the On Line button again.
  3. When finished printing your folder list(s), at the command prompt
    type Exit and tap the face=Arial,Helvetica>ENTER key to return to
    Windows NT/95.

Copying a Folder List to a File Before
Printing



  1. Exit to a command prompt by clicking Start on the Taskbar and
    choosing Programs, then Command Prompt
  2. To copy a list of files in a folder on your computer's hard disk and
    place the resulting file in the root directory on your C drive, type the
    following command at the prompt (e.g., C:\>), replacing
    c:\folderpath with the full path to the folder you want to print
    (e.g., c:\MyFiles). (See also WARNING and NOTES, below). 

    dir c:\folderpath >
    c:\folderlist.txt 

     
  1. Tap the ENTER
    key. 
  2. When finished copying your folder list(s), at the command prompt
    type Exit and tap the face=Arial,Helvetica>ENTER key to return to
    Windows NT/95. 
  3. Open, edit/format, and print as follows: 



    • You can open a file containing a folder list in the text editor
      Notepad by simply opening (double-clicking) My Computer and
      double-clicking the name of the text file you want to open (e.g.,
      folderlist.txt). Edit and print as desired. 
    • If you want to edit or format a folder listing in ways that aren't
      possible in a simple text editor, you can open the file in your word
      processor. Be sure to choose a "text" file type (Text Files in
      Word 97) and to "look in" the correct folder [such as (C:)].
      Edit, format, and print as desired. 
 

  
 


 

No comments:

 
SureJobs Network - Smart Employment Solutions