Recursive directory listing in Windows

Give this command in terminal after going into required folder

dir /b /s /a:-D > dirlisting.txt

dirlisting.txt will have recursive listing of subdirectories with complete path.


 
error: Uh oh ...