Return to Snippet

Revision: 34279
at October 20, 2010 07:36 by theonlyalterego


Initial Code
dir *.* /b >>fileListing.txt

Initial URL
http://tgaw.wordpress.com/2007/06/20/list-of-filenames-from-a-directory-in-text-format/

Initial Description
I found this today and don't want too lose it. In windows the following command will create a text file named fileListing.txt which will contain a list of all the files in the current directory ( including fileListing.txt )

Initial Title
Windows DIR - List only the filenames of all files in a directory

Initial Tags
list, windows

Initial Language
Windows PowerShell