family historians club on golo: blog family historians on golo's blog
genealogy tip
by Historians_13thPublished Jun. 11, 2008
Sometimes tasks that should be simple aren't—like creating a printable list of the contents in a Windows folder (e.g., all the files in a folder or all the folders within another folder). This is a much-requested procedure and an important one for managing files and pictures. Since there is no built-in command within Windows to do this, Microsoft offers two solutions: 1) take a screenshot of the folder’s contents, or 2) use the Command Prompt within the operating system.
http://support.microsoft.com/kb/196628
http://support.microsoft.com/kb/196158/EN-US/
I have another solution. You can use Windows to create a batch file, or a file with a list of commands for the computer to execute.
- Open Notepad or a program that saves in text format. Notepad is located at Start>All Programs>Accessories>Notepad.
- Cut and paste the following into the document. The remarks (REM) lines aren’t part of the command, but they document the procedure so you can remember how to do it in the future.
dir/b>myfilelist.txt
REM Save this file as myfilelist.bat in the folder where you wish to create a file list.
REM Double-click the file to run the program.
REM Previously published in RootsWeb Review by Mary Harrell-Sesniak. - Save the document as a batch file. Select Save As from the File menu and navigate to the folder where you wish to create a file list. Name the file “myfilelist.bat”, making certain to add the extension “.bat” to the name (no spaces or quotes).
- Close Notepad. Navigate to the folder where the .bat file is located and double-click on it. A file named “myfilelist.txt” will be created in the folder.
- Open the .txt file and print or edit it as necessary.
Note: I have kept this process as simple as possible, but our more technically savvy readers may know variations. For instance, if you remove the “/b” from the command in Step 2, the dates and times will be included in front of the document names. And to sort by document types, add an “/oe”, which orders the list by extension.
0 Comments
(21 votes) deer gets revenge after hunter shoots him
(12 votes) jason young quiet on wrongful death lawsuit
(5 votes) wake schools asked to cut $5.7m
(4 votes) plensa sculpture shines in durham


































Welcome to GOLO, where WRAL.com visitors can comment on stories and create profile pages, blogs and photo galleries.
You must be a registered WRAL.com user to use these tools. Click here to register or log in.
Please log in to add comment.