Wednesday, November 9, 2011

Store directory contents into text file in Windows

To store the directory contents with full path into a text file in Windows:
dir /s /b /o:N "Path" > "text filename"