How to Print a List of Files & Folders in Windows
Microsoft's Windows operating system stores information using a file and folder system. Electronic information, or data, is stored as files. For example, a Microsoft Word file called \"Paper\" would look like this: Paper.doc. If you want to organize files, you can put them in folders. In Windows, users have the ability to customize folder names. For example, if you could save all your Microsoft Word documents to a folder called \"Documents.\" The folder \"Documents\" might itself be in another folder called \"Work.\" In some instances, a user might want to print out a list of files and folders to serve as an index of all information within a certain location on the computer.
Things You'll Need
- Windows-enabled computer
Click \"Start\" on the main toolbar. Scroll over \"Programs,\" and then click MS-DOS Prompt (Vista) or Command Prompt if you are using Windows NT. For Windows XP, click \"Start > All Programs > Accessories > Command Prompt.\"
Type the letter associated with the drive where the file list is located at the command prompt followed by a colon. For example, if you are trying to print a list of files and folders that is stored on the C drive, type \"c:\". Press \"Enter.\"
Type \"cd\\\" at the next prompt and press \"Enter.\" Next, type \"cd\" followed by the name of the folder whose contents you want to print. Then press \"Enter.\" For example, if you want to print the contents of a folder called \"Documents,\" then type \"cd Document\" at the prompt.
Type \"dir > X.txt\". In this example, the letter X is a variable. Fill in X with whatever you want to name the file/folder list. For example, if you want to save this list as FileList, you'd type \"dir > FileList.txt\". Press \"Enter.\"
Exit the prompt screen. Click \"Start\" on the main toolbar, go to \"Applications\" and click \"Notepad\" to launch (Vista). In XP, click \"Start > All Programs > Accessories > Notepad.\"
Click \"File\" at the top of the screen, and then select \"Open.\" Locate the text file you just created. If you are unsure of where it is stored, just type the name you gave the file in the search field. Click on the name of the file to open in Notepad.
Press the \"Print\" button at the top of the screen, or click \"File\" and then \"Print.\"
Tips & Warnings
- You should save the text file you create that lists all your files and folders in the folder you were in when following these instructions. If you have trouble locating the file, just conduct a search from the toolbar menu.