Link to home
Start Free TrialLog in
Avatar of boyoung
boyoung

asked on

Printing Contents of Folder In Windows Explorer

How do you print the contents of a folder in Win 98 Explorer.

Bo
Avatar of TheComputerMaster
TheComputerMaster

Directly - You can not.  However, where there is a will, there is a way.
If you do not have a lot of files in the folder, maximize the explorer window.  I recomend going to view and select details, as that will allow for more files to be shown on the screen at the same time. Now press the "Print Screen" button on your keyboard.  What this does is copy the information from your screen into a bitmap image in the clipboard. Now, click on start, accessories and wordpad. Then press Contol-V and that will paste the picture into wordpad, and from there, you can print from the file option.

A better, faster, and easier way is to navigate your way to your windows directory, and click on show files, if they are not listed. You are looking for a file named Command.com  . start that program and then change to the desired directory with the Change Directory command.  If you are unsure of how to do this let me know, and I can explain further, on how change directory works. Anyway, once you are in the directory that you wish to get a printout of type

dir > lpt1:

be sure that your printer is turned on before you press the enter key.  With the printer on, press the enter key after typing

dir > lpt1:

 and you will have your listing popping out on the printer in a matter of seconds.  

Even though folks are shouting that DOS is dead, this is one instance in which DOS is still superior to Windows - Any day.
Exactly what I was going to say.

Further --  if you don't want details of what is in the directory, just name of the files/subdirectories, type

dir /w > lpt1

better get yourself a NORMAL shell, try FAR manager, www.rarsoft.com

boyoung,

The simplest (Basic) one by trying this: -

Using the command "DIR" and then use the print command  ">" to print the directory and its subdirectories to a text/doc file for viewing, printing and researching etc.

DIR [/S] [drive:][path][filename]  [/O[[:]sortorder]] [/4] > [[drive:][path][filename]]

where switches
 /S                        Displays files in specified directory and all subdirectories.
 /O                        List by files in sorted order.
  sortorder   G       Group directories first
                   N       By name (alphabetic)
 /4                        Displays year with 4 digits

For example: -
Following method is to print the directory map of the windows directory with its sub-directories of "C:\windows".

Use MS-DOS Prompt (start-programs-MS-DOS Prompt) to go to the C:\WINDOWS> prompt and type as following where the underscore is showing the space and "C:\temp\dir-cw1.doc" is the example of a file name in storing your directory map of "C:\windows" for retrieval.

Type the command line and press enter: -

dir/s_c:\windows_/o:gn_/4_>_C:\temp\dir-cw1.doc

It looks like this in the MS-DOS Prompt window : -

C:\WINDOWS>dir/s c:\windows /o:gn /4 > C:\temp\dir-cw1.doc
C:\WINDOWS>

Then use windows explorer to locate the file C:\temp\dir-cw1.doc and open with WordPad.
On the left hand side is the 8.3 filename and on the right hand side is the long file name of the file.

pslh
ASKER CERTIFIED SOLUTION
Avatar of dew_associates
dew_associates
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial