Do the following to write the contents of a specified directory, to a text file: -------------------------------------------------- In Command Prompt: -------------------------------------------------- C:\Directory name dir /b *.* > C:\textfilename.txt -------------------------------------------------- Key: -------------------------------------------------- C:\Directory name Path to directory you wish to write to the text file dir Directory /b Bare *.* All files > Write to C:\textfilename.txt Path to .txt file