File and Folder Directory List - Print and Save

How to Save and Print a Directory List for a File and Folder in Vista

information   Information
This will show you how to easily create a file and folder directory list that you can print and save to disk as a file. You can include the name of every file on a drive, along with the file's size, date and time of last modification, and attributes (Read-Only, Hidden, System and Archive). The list of files can be sorted by name, size, date created, date last modified, or date of last access.
Note   Note
This way you do not want to mess with the DIR command codes.
Tip   Tip
I would recommend that you try the Save to Disk option first to adjust your settings and see how it looks in the text file. This way you will see how it will print before wasting any ink and paper in the Print option.




METHOD ONE
Add "Print File Directory" to the Context Menu







METHOD TWO
Using "Karen's Directory Printer Download" Program

2. Download and install the free Karen's Directory Printer program.​
NOTE: Program written by: Karen Kenworthy. The program shortcut will be placed in the Start Menu under All Programs\Karen's Power Tools\K Directory Printer.​



Option One
Print File and Folder Directory List in Vista
1. Run the Karen's Directory Printer program.​
2. Click on the Print tab. (See screenshot below step 4)​
3. Select a Folder and Options you want to print.​
NOTE: When you hover the pointer over a option it will give you pop-up description of it. If you need more information or help, then click on the Help button.​
4. Click on the Print button when done.​
Print.jpg

5. Set your printer settings and click on Print. (See screenshot below)​
Printer_Settings.jpg





Option Two
Save File and Folder Directory List to a File in Vista
1. Run the Karen's Directory Printer program.​
2. Click on the Save to Disk tab. (See screenshot below step 4)​
3. Select a Folder and Options you want to save to file. (EX: TXT file)​
NOTE: When you hover the pointer over a option it will give you pop-up description of it. If you need more information or help, then click on the Help button.​
4. Click on the Save to Disk button when done.​
Save_to_Disk.jpg

5. Choose a save location and type a name for the file, then click on Save. (See screenshot below)​
NOTE: Click on Browse Folders to navigate to another save location.​
Save_Location_Name.jpg


That's it,
Shawn



 

Attachments

  • Drive-2.png
    Drive-2.png
    39.6 KB · Views: 476
Last edited by a moderator:
For those of you that would like to go the built-in route for vista or xp you can print the directory listing straight to any format you wish by doing the following:

In Vista:

Click Start Menu (Orb) >type "cmd" in the Search box at the bottom, you will see "Command Prompt" listed, right-click on it and choose "Run As Administrator"> Click "Allow or Continue" with the Security prompt > Once opened, navigate to the directory via the cd (change directory) command> once there type "dir > C:\Wherever you want the file.txt" > This will print to the file the entire directory and full path and size of every file and date attributes.

In XP:

Click Start Menu > click Run> type "cmd", click OK or you can go to Start> All Programs> Accessories>Command Prompt as well> Command Prompt will open, again navigate to the directory you desire by using the cd command (i.e.
C:\Windows\System32>cd C:\Documents and Settings\User Profile\Desktop)> once there again as stated above type "dir" > C:\Wherever you want the file.txt or .doc or .rtf whichever suits you>type "exit" or click the "X" in the upper right-hand corner>Check the directory you typed for the file and you should see it there with the list of files and folders in that directory specified.
As far as printing you can print the file just like any other document on your computer.

Questions feel free..


Hope this helps for anybody not wanting to install another application on your computer!

greg486
 

My Computer

This would look much nicer:

Code:
dir /b > filename.txt


And one more tip: right-click on any folder holding the Shift key you'll get option "Open Command Prompt here". Then you won't have to navigate to a folder through command line.
 

My Computer

This would look much nicer:

Code:
dir /b > filename.txt
And one more tip: right-click on any folder holding the Shift key you'll get option "Open Command Prompt here". Then you won't have to navigate to a folder through command line.

Agreed! Thanks for the cleanup I forgot about the Shift shortcut, it's been a while since I've done a lot with command prompt or DOS. Guess I learned a little, too! ;) Also, the /b command only removes the summary and heading, which in some cases is good but if you would like to for detailed purposes, its nice to do without. Again, thanks for the tip!
 

My Computer

Back
Top