Re: Question: Printing List of Files In a Folder



oldtimer wrote:

I have a folder containing .doc and .xls files. I would like to
print a list of the files in that folder.

Even a "print screen" option would be acceptable.

How can I do this?


Here are four ways:

1. Go to a command prompt and issue the command

dir [drive:folder] > c:\tempfilename (you can use any name and put it in any
folder you want)

Then open notepad, open tempfilename, and print it from there.

2. Write (for example in Notepad) a 1-line text file:
DIR %1 /O >LPT1:

Save it as "printdir.bat" in the "Send To" folder.

Then, to print list of files in any folder, right-click that folder and
select Send to | printdir.bat

To include subfolders, change the comand to DIR %1 /O/S >LPT1:

3. Go to http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q321379 and
follow the instructions there.

4. Download and use any of the several freeware/shareware utilities that can
do this, such as the popular
http://www.karenware.com/powertools/ptdirprn.asp

--
Ken Blake - Microsoft MVP Windows: Shell/User
Please reply to the newsgroup


.



Relevant Pages

  • Re: Finding members of RDP groups of a list of computers
    ... command prompt window to the folder where it is saved. ... MVP Directory Services ... Your text file of computer names must be located in a folder on ... When you get to a command prompt you must navigate to this folder. ...
    (microsoft.public.scripting.vbscript)
  • Re: Finding members of RDP groups of a list of computers
    ... got the script to work by double clicking the vbs file. ... cscript //nologo RDPMembers.vbs> report.txt from the command prompt? ... MVP Directory Services ... Your text file of computer names must be located in a folder on ...
    (microsoft.public.scripting.vbscript)
  • Re: Error Message -Item Not Found-
    ... Yep the command prompt works, just got rid of 4 folders from my desktop that ... Will A fix for this come out in SP 599 or will MS refund 50% of the VISTA ... Microsoft Windows MVP ... That should leave you at the Command Prompt and in that folder; ...
    (microsoft.public.windows.vista.file_management)
  • Re: Error Message -Item Not Found-
    ... If "Switch Sound File Converter.lnk" is the name of your shortcut, then you will need to enclose the ENTIRE pathname in quotes to deal with it because it includes space characters - and the quotes must enclose the drive letter, too: ... That should leave you at the Command Prompt and in that folder; ... In a Command Prompt window, we can use these SFNs, even when we are not sure ...
    (microsoft.public.windows.vista.file_management)
  • Re: Whered my hard drive space go?
    ... Volumes in Windows XP ... check your folder shares, check the status of the Guest Account, and check ... Tales from the Script - November 2003 ... from the command prompt, ...
    (microsoft.public.windowsxp.basics)