Getting list of files from a folder in a text file
I keep always forgetting the exact parameters to use, and need to write this down somewhere :)
It might also be helpful for others:
In Windows:
and if you also want to see the subfolders with their full paths:
In Windows:
| Windows | Unix/Linux/OS X | 
|---|---|
| dir /b >folderlist.txt | ls > folderlist.txt | 
and if you also want to see the subfolders with their full paths:
| Windows | Unix/Linux/OS X | 
|---|---|
| dir /b /s >folderlist.txt | ls -R > folderlist.txt | 
Comments